Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003623/0.003623, allocations: 180 kB / 7.458 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.706/0.706, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 395 MB, free: 10.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 99.19 kB / 477.8 MB, free: 10.68 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.4817/0.4828, allocations: 88.46 MB / 0.553 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.6653, allocations: 82.29 MB / 0.6333 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5856/1.251, allocations: 121.5 MB / 0.7519 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.251, allocations: 95.19 kB / 0.752 GB, free: 10.65 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.06523/1.316, allocations: 22.13 MB / 0.7736 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.317, allocations: 12.22 kB / 0.7737 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/1.317, allocations: 91.81 kB / 0.7737 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/1.319, allocations: 1.255 MB / 0.775 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/1.319, allocations: 7.531 kB / 0.775 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/1.319, allocations: 22.41 kB / 0.775 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004295/1.32, allocations: 189.1 kB / 0.7752 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/1.32, allocations: 295.1 kB / 0.7755 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.32, allocations: 4.938 kB / 0.7755 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.32, allocations: 4.844 kB / 0.7755 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.32, allocations: 6.094 kB / 0.7755 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/1.323, allocations: 1.684 MB / 0.7771 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/1.323, allocations: 135.5 kB / 0.7772 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/1.323, allocations: 110.9 kB / 0.7773 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/1.323, allocations: 1.969 kB / 0.7774 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/1.324, allocations: 146.5 kB / 0.7775 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/1.324, allocations: 0 / 0.7775 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001146/1.325, allocations: 378 kB / 0.7779 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/1.325, allocations: 53.59 kB / 0.7779 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.327, allocations: 0.8382 MB / 0.7787 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/1.327, allocations: 30.48 kB / 0.7788 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/1.327, allocations: 224.7 kB / 0.779 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/1.327, allocations: 66.17 kB / 0.779 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/1.327, allocations: 0 / 0.779 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.327, allocations: 316.3 kB / 0.7793 GB, free: 16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.328, allocations: 81.84 kB / 0.7794 GB, free: 16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.328, allocations: 191.5 kB / 0.7796 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/1.328, allocations: 120.2 kB / 0.7797 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.328, allocations: 0 / 0.7797 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006415/1.329, allocations: 438.6 kB / 0.7801 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.329, allocations: 4 kB / 0.7801 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.329, allocations: 0 / 0.7801 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/1.329, allocations: 35.41 kB / 0.7802 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/1.329, allocations: 59.89 kB / 0.7802 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/1.331, allocations: 1.323 MB / 0.7815 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/1.331, allocations: 40 kB / 0.7815 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/1.331, allocations: 7.438 kB / 0.7816 GB, free: 13.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 prepare postOptimizeDAE: time 0.0001732/1.332, allocations: 117.5 kB / 0.7817 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.332, allocations: 75.62 kB / 0.7817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/1.332, allocations: 88.97 kB / 0.7818 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.332, allocations: 4 kB / 0.7818 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.332, allocations: 3.906 kB / 0.7818 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.332, allocations: 0 / 0.7818 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/1.334, allocations: 0.9895 MB / 0.7828 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.334, allocations: 3.938 kB / 0.7828 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/1.334, allocations: 51.98 kB / 0.7829 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.764e-05/1.334, allocations: 26.72 kB / 0.7829 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.334, allocations: 4 kB / 0.7829 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/1.335, allocations: 1.328 MB / 0.7842 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.335, allocations: 4.031 kB / 0.7842 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007135/1.336, allocations: 0.603 MB / 0.7848 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00106/1.337, allocations: 1.115 MB / 0.7859 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/1.337, allocations: 164.8 kB / 0.786 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/1.337, allocations: 10.75 kB / 0.786 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/1.338, allocations: 23.97 kB / 0.786 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.338, allocations: 11.98 kB / 0.7861 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.338, allocations: 7 kB / 0.7861 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0009237/1.339, allocations: 0.6726 MB / 0.7867 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001087/1.34, allocations: 107.8 kB / 0.7868 GB, free: 8.781 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Etot,layMul.monLay[1].monLayDyn.T[2],layMul.monLay[2].monLayDyn.T[1],layMul.monLay[2].monLayDyn.T[2]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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.0003926/1.34, allocations: 162.9 kB / 0.787 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005387/1.341, allocations: 313 kB / 0.7873 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.341, allocations: 0 / 0.7873 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/1.341, allocations: 212.1 kB / 0.7875 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/1.342, allocations: 157.8 kB / 0.7876 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/1.344, allocations: 1.392 MB / 0.789 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008405/1.345, allocations: 1.181 MB / 0.7901 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/1.345, allocations: 0 / 0.7901 GB, free: 5.668 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp_fmu --startTime=0 --stopTime=500000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)