Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_dev_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.003983/0.003983, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7579/0.7579, 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.47/1.47, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009737/0.0009739, allocations: 92.53 kB / 477.8 MB, free: 10.87 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.4536/0.4546, allocations: 88.45 MB / 0.553 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.6427, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5843/1.227, allocations: 121.5 MB / 0.7519 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.227, allocations: 87.41 kB / 0.752 GB, free: 10.98 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.0637/1.291, allocations: 22.13 MB / 0.7736 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.291, allocations: 12.28 kB / 0.7736 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/1.291, allocations: 100.8 kB / 0.7737 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/1.294, allocations: 1.261 MB / 0.775 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.294, allocations: 7.656 kB / 0.775 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/1.294, allocations: 22 kB / 0.775 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004256/1.294, allocations: 183.2 kB / 0.7752 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/1.295, allocations: 293.5 kB / 0.7755 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.295, allocations: 5.125 kB / 0.7755 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/1.295, allocations: 1.031 kB / 0.7755 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/1.295, allocations: 5.531 kB / 0.7755 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/1.298, allocations: 1.679 MB / 0.7771 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/1.298, allocations: 144 kB / 0.7772 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/1.298, allocations: 110 kB / 0.7773 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/1.298, allocations: 1.75 kB / 0.7773 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/1.298, allocations: 136.4 kB / 0.7775 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/1.298, allocations: 3.938 kB / 0.7775 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.0007572/1.299, allocations: 387.5 kB / 0.7779 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/1.299, allocations: 53.88 kB / 0.7779 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.301, allocations: 0.8345 MB / 0.7787 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/1.301, allocations: 26.7 kB / 0.7787 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/1.301, allocations: 226.8 kB / 0.779 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/1.301, allocations: 63.39 kB / 0.779 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/1.301, allocations: 0 / 0.779 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.301, allocations: 320.7 kB / 0.7793 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.301, allocations: 81.88 kB / 0.7794 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/1.301, allocations: 182.1 kB / 0.7796 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/1.302, allocations: 123.9 kB / 0.7797 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.302, allocations: 0.9062 kB / 0.7797 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006112/1.302, allocations: 445.8 kB / 0.7801 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.302, allocations: 4 kB / 0.7801 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.302, allocations: 0 / 0.7801 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/1.302, allocations: 32.77 kB / 0.7802 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.303, allocations: 63.91 kB / 0.7802 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/1.304, allocations: 1.323 MB / 0.7815 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.304, allocations: 35.84 kB / 0.7815 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/1.304, allocations: 4 kB / 0.7815 GB, free: 14.34 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.0001318/1.304, allocations: 124.3 kB / 0.7817 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/1.305, allocations: 75.06 kB / 0.7817 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/1.305, allocations: 83.72 kB / 0.7818 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.305, allocations: 4 kB / 0.7818 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.305, allocations: 3.906 kB / 0.7818 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.305, allocations: 0 / 0.7818 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.306, allocations: 0.9957 MB / 0.7828 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/1.306, allocations: 4 kB / 0.7828 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/1.306, allocations: 35.97 kB / 0.7828 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.568e-05/1.306, allocations: 35.41 kB / 0.7829 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/1.307, allocations: 7.984 kB / 0.7829 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/1.308, allocations: 1.332 MB / 0.7842 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.308, allocations: 0 / 0.7842 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007054/1.308, allocations: 0.6097 MB / 0.7848 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001034/1.309, allocations: 1.102 MB / 0.7858 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/1.31, allocations: 167.4 kB / 0.786 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/1.31, allocations: 6.938 kB / 0.786 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/1.31, allocations: 27.97 kB / 0.786 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/1.31, allocations: 19.05 kB / 0.7861 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/1.31, allocations: 4 kB / 0.7861 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001049/1.311, allocations: 0.6676 MB / 0.7867 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001232/1.313, allocations: 107.8 kB / 0.7868 GB, free: 9.305 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.0004666/1.313, allocations: 170.4 kB / 0.787 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007102/1.314, allocations: 306.3 kB / 0.7873 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.314, allocations: 0 / 0.7873 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/1.314, allocations: 211.2 kB / 0.7875 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/1.315, allocations: 170.2 kB / 0.7876 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/1.318, allocations: 1.392 MB / 0.789 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008558/1.318, allocations: 1.18 MB / 0.7901 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.318, allocations: 0 / 0.7901 GB, free: 6.184 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp_fmu --startTime=0 --stopTime=500000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)