Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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 trunk/package.mo): time 0.001612/0.001613, allocations: 198.6 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000911/0.0009111, allocations: 91.48 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.176/0.176, allocations: 45.14 MB / 383.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2153/0.3913, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.4852, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.45/4.935, allocations: 2.76 GB / 3.264 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/4.935, allocations: 92.7 kB / 3.264 GB, free: 152 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.8227/5.758, allocations: 314.6 MB / 3.571 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/5.758, allocations: 8 kB / 3.571 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/5.76, allocations: 231.3 kB / 3.571 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/5.76, allocations: 345.1 kB / 3.572 GB, free: 51.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/5.76, allocations: 12 kB / 3.572 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/5.761, allocations: 16 kB / 3.572 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003807/5.761, allocations: 233.2 kB / 3.572 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/5.761, allocations: 323 kB / 3.572 GB, free: 51.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/5.761, allocations: 4 kB / 3.572 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/5.761, allocations: 0 / 3.572 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/5.761, allocations: 8 kB / 3.572 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/5.764, allocations: 2.324 MB / 3.575 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/5.764, allocations: 134.5 kB / 3.575 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/5.764, allocations: 60.84 kB / 3.575 GB, free: 48.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02983/5.794, allocations: 18.85 MB / 3.593 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/5.794, allocations: 34.55 kB / 3.593 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/5.794, allocations: 0 / 3.593 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0009805/5.795, allocations: 281.2 kB / 3.593 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/5.795, allocations: 106.8 kB / 3.594 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/5.795, allocations: 231.5 kB / 3.594 GB, free: 26.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/5.795, allocations: 29.69 kB / 3.594 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/5.795, allocations: 183.5 kB / 3.594 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/5.795, allocations: 47.3 kB / 3.594 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/5.795, allocations: 0 / 3.594 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/5.795, allocations: 338.8 kB / 3.594 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/5.796, allocations: 55.98 kB / 3.594 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/5.796, allocations: 173.7 kB / 3.595 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/5.796, allocations: 94.31 kB / 3.595 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/5.796, allocations: 3.906 kB / 3.595 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000814/5.797, allocations: 360.9 kB / 3.595 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/5.797, allocations: 4.469 kB / 3.595 GB, free: 25.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/5.797, allocations: 8 kB / 3.595 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/5.797, allocations: 8 kB / 3.595 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/5.797, allocations: 79.83 kB / 3.595 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/5.797, allocations: 4 kB / 3.595 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/5.797, allocations: 51.66 kB / 3.595 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/5.797, allocations: 12 kB / 3.595 GB, free: 24.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.015e-05/5.798, allocations: 116.9 kB / 3.595 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/5.798, allocations: 135.4 kB / 3.595 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/5.799, allocations: 0.9998 MB / 3.596 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/5.799, allocations: 11.98 kB / 3.596 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/5.799, allocations: 0 / 3.596 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/5.799, allocations: 7.969 kB / 3.596 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/5.8, allocations: 1.444 MB / 3.598 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/5.8, allocations: 4 kB / 3.598 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/5.8, allocations: 55.89 kB / 3.598 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/5.8, allocations: 0 / 3.598 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/5.8, allocations: 4 kB / 3.598 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/5.8, allocations: 0 / 3.598 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/5.8, allocations: 0 / 3.598 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009069/5.801, allocations: 0.8837 MB / 3.599 GB, free: 21.19 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001173/5.802, allocations: 1.322 MB / 3.6 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/5.803, allocations: 112.5 kB / 3.6 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/5.803, allocations: 7.922 kB / 3.6 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/5.803, allocations: 31.92 kB / 3.6 GB, free: 19.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/5.803, allocations: 23.95 kB / 3.6 GB, free: 19.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/5.803, allocations: 8 kB / 3.6 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001192/5.803, allocations: 179.1 kB / 3.6 GB, free: 19.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004876/5.808, allocations: 0.9872 MB / 3.601 GB, free: 18.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00584/5.814, allocations: 1.464 MB / 3.603 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005845/5.814, allocations: 444.3 kB / 3.603 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/5.814, allocations: 0.9375 kB / 3.603 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/5.815, allocations: 428.5 kB / 3.604 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/5.815, allocations: 120.2 kB / 3.604 GB, free: 16.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/5.816, allocations: 0.7189 MB / 3.604 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/5.817, allocations: 0.8825 MB / 3.605 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/5.817, allocations: 0 / 3.605 GB, free: 14.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)