Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.005622/0.005621, allocations: 185.6 kB / 7.459 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.8466/0.8466, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.665/1.665, allocations: 221.3 MB / 395 MB, free: 10.22 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.001003/0.001003, allocations: 109.5 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4645/0.4655, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.6506, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.337/4.988, allocations: 1.831 GB / 2.464 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/4.988, allocations: 84.95 kB / 2.464 GB, free: 83.77 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 1.031/6.019, allocations: 306.8 MB / 2.764 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/6.02, allocations: 15.98 kB / 2.764 GB, free: 41.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/6.021, allocations: 143.3 kB / 2.764 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/6.021, allocations: 340.2 kB / 2.765 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/6.022, allocations: 38.36 kB / 2.765 GB, free: 41.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/6.022, allocations: 16 kB / 2.765 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004118/6.022, allocations: 217.2 kB / 2.765 GB, free: 41.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/6.022, allocations: 302 kB / 2.765 GB, free: 40.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/6.023, allocations: 0 / 2.765 GB, free: 40.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/6.023, allocations: 7.984 kB / 2.765 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/6.023, allocations: 4 kB / 2.765 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/6.024, allocations: 1.425 MB / 2.767 GB, free: 39.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/6.024, allocations: 166.6 kB / 2.767 GB, free: 39.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/6.025, allocations: 96.81 kB / 2.767 GB, free: 39.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008887/6.026, allocations: 0.5045 MB / 2.767 GB, free: 38.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/6.026, allocations: 30.56 kB / 2.767 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/6.026, allocations: 0 / 2.767 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001039/6.027, allocations: 288.5 kB / 2.768 GB, free: 38.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/6.027, allocations: 63.34 kB / 2.768 GB, free: 38.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/6.027, allocations: 189.1 kB / 2.768 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/6.027, allocations: 25.7 kB / 2.768 GB, free: 37.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/6.027, allocations: 171.9 kB / 2.768 GB, free: 37.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/6.027, allocations: 51.23 kB / 2.768 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/6.027, allocations: 0 / 2.768 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000101/6.027, allocations: 326.8 kB / 2.768 GB, free: 37.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/6.027, allocations: 73.67 kB / 2.768 GB, free: 37.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/6.027, allocations: 135.7 kB / 2.769 GB, free: 37.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/6.028, allocations: 143.8 kB / 2.769 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/6.028, allocations: 3.906 kB / 2.769 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006795/6.029, allocations: 283.2 kB / 2.769 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/6.029, allocations: 7.906 kB / 2.769 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/6.029, allocations: 4 kB / 2.769 GB, free: 36.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/6.029, allocations: 3.938 kB / 2.769 GB, free: 36.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/6.029, allocations: 44.17 kB / 2.769 GB, free: 36.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/6.029, allocations: 11.92 kB / 2.769 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/6.029, allocations: 27.83 kB / 2.769 GB, free: 36.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/6.029, allocations: 12 kB / 2.769 GB, free: 36.48 MB / 0.6823 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 9.98e-05/6.029, allocations: 109 kB / 2.769 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/6.029, allocations: 23.7 kB / 2.769 GB, free: 36.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007668/6.03, allocations: 323 kB / 2.77 GB, free: 36.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/6.03, allocations: 0 / 2.77 GB, free: 36.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/6.03, allocations: 4.062 kB / 2.77 GB, free: 36.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/6.03, allocations: 3.984 kB / 2.77 GB, free: 36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/6.032, allocations: 1.242 MB / 2.771 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/6.032, allocations: 0 / 2.771 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/6.032, allocations: 35.98 kB / 2.771 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/6.032, allocations: 4 kB / 2.771 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/6.032, allocations: 8.328 kB / 2.771 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/6.032, allocations: 11.94 kB / 2.771 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/6.032, allocations: 4 kB / 2.771 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005373/6.033, allocations: 0.5305 MB / 2.771 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007806/6.034, allocations: 0.9682 MB / 2.772 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/6.034, allocations: 128.7 kB / 2.772 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/6.034, allocations: 4 kB / 2.772 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/6.034, allocations: 27.98 kB / 2.772 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/6.034, allocations: 23.88 kB / 2.772 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/6.034, allocations: 8 kB / 2.772 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.716e-05/6.034, allocations: 153.2 kB / 2.773 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001518/6.036, allocations: 351.7 kB / 2.773 GB, free: 32.11 MB / 0.6823 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.001625/6.037, allocations: 1.409 MB / 2.774 GB, free: 30.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002915/6.038, allocations: 183.7 kB / 2.775 GB, free: 30.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/6.038, allocations: 7.938 kB / 2.775 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/6.038, allocations: 100.8 kB / 2.775 GB, free: 30.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/6.038, allocations: 97.98 kB / 2.775 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/6.039, allocations: 435.2 kB / 2.775 GB, free: 29.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/6.04, allocations: 0.8254 MB / 2.776 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/6.04, allocations: 0 / 2.776 GB, free: 29.12 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)