Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.331/4.331, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.076e-05, allocations: 2 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2651, allocations: 98.73 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2974/0.5626, allocations: 134.3 MB / 0.7659 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5629, allocations: 79.95 kB / 0.7659 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7335/1.296, allocations: 31.89 MB / 0.7971 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.705e-06/1.296, allocations: 0 / 0.7971 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001432/1.297, allocations: 24.47 kB / 0.7971 GB, free: 135.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004459/1.301, allocations: 1.199 MB / 0.7983 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.301, allocations: 8.906 kB / 0.7983 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/1.301, allocations: 85.08 kB / 0.7984 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.303, allocations: 132.4 kB / 0.7985 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008026/1.311, allocations: 1.571 MB / 0.8 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/1.311, allocations: 46.5 kB / 0.8001 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/1.311, allocations: 71.77 kB / 0.8001 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/1.313, allocations: 0.6491 MB / 0.8008 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.313, allocations: 1.562 kB / 0.8008 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.722e-05/1.313, allocations: 15.44 kB / 0.8008 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/1.313, allocations: 10.53 kB / 0.8008 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.315, allocations: 0.6091 MB / 0.8014 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/1.322, allocations: 2.792 MB / 0.8041 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/1.325, allocations: 0.9071 MB / 0.805 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/1.326, allocations: 381.2 kB / 0.8054 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/1.326, allocations: 30.39 kB / 0.8054 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.326, allocations: 37.44 kB / 0.8054 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=45): time 2.905e-06/1.326, allocations: 0 / 0.8054 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45): time 0.002445/1.328, allocations: 0.8767 MB / 0.8063 GB, free: 131 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.328, allocations: 59.25 kB / 0.8064 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/1.331, allocations: 1.033 MB / 0.8074 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/1.331, allocations: 41.67 kB / 0.8074 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/1.332, allocations: 479.4 kB / 0.8079 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/1.332, allocations: 175 kB / 0.808 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/1.332, allocations: 15.69 kB / 0.808 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/1.332, allocations: 345 kB / 0.8084 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.333, allocations: 0.5366 MB / 0.8089 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.335, allocations: 0.9372 MB / 0.8098 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/1.336, allocations: 0.6378 MB / 0.8104 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.336, allocations: 3.969 kB / 0.8104 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003928/1.34, allocations: 1.572 MB / 0.812 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/1.34, allocations: 12 kB / 0.812 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.951e-05/1.34, allocations: 16 kB / 0.812 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/1.341, allocations: 45.56 kB / 0.812 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/1.344, allocations: 371.5 kB / 0.8124 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/1.348, allocations: 6.823 MB / 0.8191 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/1.352, allocations: 166.8 kB / 0.8192 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.352, allocations: 63.98 kB / 0.8193 GB, free: 119 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002754/1.352, allocations: 156.6 kB / 0.8194 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/1.353, allocations: 110.5 kB / 0.8195 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/1.355, allocations: 1.001 MB / 0.8205 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.355, allocations: 4 kB / 0.8205 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.355, allocations: 0 / 0.8205 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.355, allocations: 3.984 kB / 0.8205 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/1.357, allocations: 0.9657 MB / 0.8215 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.357, allocations: 0 / 0.8215 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.358, allocations: 123.8 kB / 0.8216 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/1.359, allocations: 40.77 kB / 0.8216 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/1.359, allocations: 23.98 kB / 0.8216 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009923/1.36, allocations: 1.323 MB / 0.8229 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.36, allocations: 0 / 0.8229 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/1.363, allocations: 1.502 MB / 0.8244 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.364, allocations: 361.4 kB / 0.8247 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/1.364, allocations: 19.98 kB / 0.8248 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.366, allocations: 52.02 kB / 0.8248 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.366, allocations: 31.97 kB / 0.8248 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/1.366, allocations: 35.98 kB / 0.8249 GB, free: 113 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001542/1.368, allocations: 0.7584 MB / 0.8256 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.31e-07/1.368, allocations: 0 / 0.8256 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002038/1.37, allocations: 387.5 kB / 0.826 GB, free: 111.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00331/1.373, allocations: 2.085 MB / 0.828 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003536/1.377, allocations: 1.517 MB / 0.8295 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.377, allocations: 0 / 0.8295 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/1.378, allocations: 462.6 kB / 0.8299 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.38, allocations: 213.5 kB / 0.8301 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/1.386, allocations: 2.388 MB / 0.8325 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/1.387, allocations: 1.122 MB / 0.8336 GB, free: 104 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001068/1.388, allocations: 219.3 kB / 0.8338 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/1.389, allocations: 403.3 kB / 0.8342 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.389, allocations: 0 / 0.8342 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/1.48, allocations: 25.35 MB / 0.8589 GB, free: 78.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/1.48, allocations: 193.2 kB / 0.8591 GB, free: 77.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.858/5.338, allocations: 3.938 kB / 0.8591 GB, free: 77.97 MB / 0.6511 GB