Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",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.006773/0.006773, allocations: 180.3 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6953/0.6953, allocations: 133.5 MB / 141.4 MB, free: 15.61 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.573/1.573, allocations: 221.3 MB / 395 MB, free: 10.18 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.00147/0.00147, allocations: 97.55 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4931/0.4946, allocations: 88.43 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.6732, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/5.217, allocations: 1.9 GB / 2.533 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004618/5.218, allocations: 83.95 kB / 2.533 GB, free: 60.79 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 1.045/6.263, allocations: 320.7 MB / 2.846 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/6.263, allocations: 8 kB / 2.846 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/6.267, allocations: 0.5244 MB / 2.847 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/6.268, allocations: 0.9817 MB / 2.848 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/6.268, allocations: 64 kB / 2.848 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/6.268, allocations: 92 kB / 2.848 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002262/6.271, allocations: 1.673 MB / 2.85 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/6.273, allocations: 1.476 MB / 2.851 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/6.273, allocations: 0 / 2.851 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/6.273, allocations: 4 kB / 2.851 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/6.273, allocations: 40 kB / 2.851 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/6.279, allocations: 4.64 MB / 2.856 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/6.281, allocations: 1.488 MB / 2.857 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/6.282, allocations: 0.5581 MB / 2.858 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008234/6.282, allocations: 1.136 MB / 2.859 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009007/6.283, allocations: 0.741 MB / 2.859 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.656e-06/6.283, allocations: 0 / 2.859 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003127/6.286, allocations: 1.309 MB / 2.861 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/6.286, allocations: 248.6 kB / 2.861 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/6.287, allocations: 0.6213 MB / 2.861 GB, free: 104 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/6.287, allocations: 29.7 kB / 2.861 GB, free: 68 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.2684/6.556, allocations: 0.5058 MB / 2.862 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/6.556, allocations: 439.6 kB / 2.862 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/6.556, allocations: 0 / 2.862 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/6.556, allocations: 353.5 kB / 2.863 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/6.557, allocations: 380.1 kB / 2.863 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/6.557, allocations: 0.5314 MB / 2.864 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/6.558, allocations: 474.7 kB / 2.864 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/6.558, allocations: 0 / 2.864 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0025/6.561, allocations: 1.255 MB / 2.865 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/6.561, allocations: 7.875 kB / 2.865 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/6.561, allocations: 3.844 kB / 2.865 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008746/6.562, allocations: 191.4 kB / 2.866 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/6.563, allocations: 294.3 kB / 2.866 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/6.567, allocations: 6.477 MB / 2.872 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/6.568, allocations: 119.4 kB / 2.872 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/6.569, allocations: 48.72 kB / 2.872 GB, free: 209.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002715/6.569, allocations: 128.3 kB / 2.872 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/6.569, allocations: 118.1 kB / 2.873 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/6.572, allocations: 1.599 MB / 2.874 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/6.572, allocations: 14.94 kB / 2.874 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/6.572, allocations: 0 / 2.874 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/6.572, allocations: 7.453 kB / 2.874 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/6.577, allocations: 2.947 MB / 2.877 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/6.577, allocations: 0 / 2.877 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/6.578, allocations: 308.3 kB / 2.877 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/6.579, allocations: 192.7 kB / 2.877 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/6.579, allocations: 26.38 kB / 2.877 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/6.583, allocations: 6.492 MB / 2.884 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.583, allocations: 3.531 kB / 2.884 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00292/6.586, allocations: 1.437 MB / 2.885 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002825/6.589, allocations: 1.896 MB / 2.887 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/6.59, allocations: 392.5 kB / 2.887 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/6.59, allocations: 5.781 kB / 2.887 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/6.591, allocations: 103.3 kB / 2.888 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/6.592, allocations: 81.34 kB / 2.888 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/6.592, allocations: 64.56 kB / 2.888 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007323/6.592, allocations: 497.4 kB / 2.888 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003375/6.596, allocations: 0.787 MB / 2.889 GB, free: 201.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002656/6.598, allocations: 1.699 MB / 2.891 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002303/6.601, allocations: 1.566 MB / 2.892 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/6.601, allocations: 0.6562 kB / 2.892 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/6.602, allocations: 1.13 MB / 2.893 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/6.604, allocations: 378.2 kB / 2.894 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/6.61, allocations: 2.196 MB / 2.896 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/6.611, allocations: 1.468 MB / 2.897 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/6.611, allocations: 0 / 2.897 GB, free: 199.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)