Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.001024/0.001024, allocations: 187.8 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4617/0.4617, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.4 MB / 342.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.0009712, allocations: 90.27 kB / 415.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.1809, allocations: 78.44 MB / 493.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.5929, allocations: 72.31 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.514/4.107, allocations: 1.822 GB / 2.375 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/4.107, allocations: 89.09 kB / 2.375 GB, free: 2.059 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 1.183/5.291, allocations: 306.9 MB / 2.674 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/5.291, allocations: 7.156 kB / 2.674 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/5.292, allocations: 138.6 kB / 2.674 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/5.293, allocations: 345.3 kB / 2.675 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/5.293, allocations: 39.86 kB / 2.675 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/5.293, allocations: 16.19 kB / 2.675 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005708/5.293, allocations: 214.8 kB / 2.675 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/5.294, allocations: 305.4 kB / 2.675 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/5.294, allocations: 0 / 2.675 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/5.294, allocations: 1.375 kB / 2.675 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/5.294, allocations: 6.281 kB / 2.675 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/5.296, allocations: 1.414 MB / 2.677 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/5.296, allocations: 166.4 kB / 2.677 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/5.297, allocations: 99.81 kB / 2.677 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009762/5.298, allocations: 0.5042 MB / 2.677 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/5.298, allocations: 33.5 kB / 2.677 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/5.298, allocations: 0 / 2.677 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001072/5.299, allocations: 284.1 kB / 2.678 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/5.299, allocations: 55.34 kB / 2.678 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/5.299, allocations: 196.7 kB / 2.678 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/5.299, allocations: 25.7 kB / 2.678 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/5.299, allocations: 168.5 kB / 2.678 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/5.299, allocations: 48.44 kB / 2.678 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/5.299, allocations: 0 / 2.678 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/5.299, allocations: 340.4 kB / 2.679 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/5.299, allocations: 71.27 kB / 2.679 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/5.3, allocations: 133.6 kB / 2.679 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/5.3, allocations: 141.8 kB / 2.679 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/5.3, allocations: 0 / 2.679 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007686/5.301, allocations: 293 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/5.301, allocations: 5.5 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/5.301, allocations: 3.906 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/5.301, allocations: 3.812 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/5.301, allocations: 49.34 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/5.301, allocations: 1.406 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/5.301, allocations: 32.06 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/5.301, allocations: 10.81 kB / 2.679 GB, free: 153 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/5.302, allocations: 109 kB / 2.679 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/5.302, allocations: 23.28 kB / 2.679 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007756/5.302, allocations: 325.5 kB / 2.68 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/5.302, allocations: 0 / 2.68 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/5.303, allocations: 0 / 2.68 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/5.303, allocations: 0 / 2.68 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/5.304, allocations: 1.239 MB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.304, allocations: 3.938 kB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/5.305, allocations: 50.27 kB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/5.305, allocations: 3.75 kB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/5.305, allocations: 7.562 kB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/5.305, allocations: 3.781 kB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/5.305, allocations: 3.531 kB / 2.681 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006214/5.305, allocations: 0.5375 MB / 2.682 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008592/5.306, allocations: 0.9652 MB / 2.682 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/5.306, allocations: 128.5 kB / 2.683 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/5.306, allocations: 7.031 kB / 2.683 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/5.307, allocations: 30.03 kB / 2.683 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/5.307, allocations: 18.11 kB / 2.683 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/5.307, allocations: 19.03 kB / 2.683 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001076/5.307, allocations: 149.9 kB / 2.683 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001564/5.309, allocations: 344.5 kB / 2.683 GB, free: 150.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/5.311, allocations: 1.402 MB / 2.684 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003244/5.311, allocations: 185.6 kB / 2.685 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/5.311, allocations: 0 / 2.685 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/5.311, allocations: 108.1 kB / 2.685 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/5.312, allocations: 94.11 kB / 2.685 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/5.313, allocations: 431.6 kB / 2.685 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/5.313, allocations: 0.8251 MB / 2.686 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/5.313, allocations: 0 / 2.686 GB, free: 149.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)