Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001214/0.001214, allocations: 194.6 kB / 8.532 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008885/0.0008886, allocations: 94.19 kB / 286.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09563/0.09655, allocations: 56.9 MB / 343.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.1814, allocations: 51.47 MB / 394.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2166/0.398, allocations: 81.03 MB / 475.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000168/0.3982, allocations: 73.62 kB / 475.8 MB, free: 11.36 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02276/0.421, allocations: 10.44 MB / 486.2 MB, free: 3.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.421, allocations: 8 kB / 486.3 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.4212, allocations: 59.34 kB / 486.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.4216, allocations: 404.4 kB / 486.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.4217, allocations: 46.36 kB / 486.8 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.4218, allocations: 27.84 kB / 486.8 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004172/0.4222, allocations: 253.2 kB / 487 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.4227, allocations: 386.6 kB / 487.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4227, allocations: 0 / 487.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.4227, allocations: 11.98 kB / 487.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.4227, allocations: 11.98 kB / 487.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.4245, allocations: 1.217 MB / 488.6 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4248, allocations: 220.4 kB / 488.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.4251, allocations: 141.5 kB / 489 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.4251, allocations: 11.98 kB / 489 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4251, allocations: 38.38 kB / 489 MB, free: 1.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.513e-06/0.4251, allocations: 0 / 489 MB, free: 1.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006255/0.4258, allocations: 358.4 kB / 489.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.4259, allocations: 452.8 kB / 489.8 MB, free: 328 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.4262, allocations: 345.2 kB / 490.2 MB, free: 52 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.4262, allocations: 29.7 kB / 490.2 MB, free: 16 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4263, allocations: 186.5 kB / 490.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.4264, allocations: 121.3 kB / 490.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.4264, allocations: 0 / 490.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4266, allocations: 353.5 kB / 490.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.4267, allocations: 101 kB / 491 MB, free: 15.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.427, allocations: 236.8 kB / 491.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.4272, allocations: 122.1 kB / 491.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4272, allocations: 3.828 kB / 491.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006344/0.4278, allocations: 382.2 kB / 491.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4279, allocations: 8 kB / 491.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4279, allocations: 0 / 491.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.4281, allocations: 53.25 kB / 491.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.4286, allocations: 99.78 kB / 491.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.4306, allocations: 2.615 MB / 494.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.4309, allocations: 51.77 kB / 494.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.431, allocations: 11.44 kB / 494.5 MB, free: 11.84 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.4311, allocations: 130.4 kB / 494.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.4312, allocations: 47.44 kB / 494.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.421e-05/0.4313, allocations: 46.64 kB / 494.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4313, allocations: 4 kB / 494.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4313, allocations: 3.906 kB / 494.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005509/0.4319, allocations: 0.6464 MB / 495.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.433, allocations: 0.8934 MB / 496.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.433, allocations: 0 / 496.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.4335, allocations: 102.2 kB / 496.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4336, allocations: 4 kB / 496.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.4336, allocations: 3.906 kB / 496.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4336, allocations: 0 / 496.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4336, allocations: 6.109 kB / 496.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000678/0.4343, allocations: 0.5353 MB / 496.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001428/0.4357, allocations: 1.357 MB / 498.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.4359, allocations: 170.6 kB / 498.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.436, allocations: 6.531 kB / 498.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.4364, allocations: 36.03 kB / 498.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.4364, allocations: 23.38 kB / 498.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.4365, allocations: 10.38 kB / 498.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003196/0.4368, allocations: 275.4 kB / 498.8 MB, free: 8.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009802/0.4378, allocations: 134.1 kB / 498.9 MB, free: 8.129 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.0001643/0.438, allocations: 117.6 kB / 499 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.4387, allocations: 0.5001 MB / 499.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4387, allocations: 4 kB / 499.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.4389, allocations: 142.3 kB / 499.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.4394, allocations: 116.6 kB / 499.8 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4407, allocations: 0.6418 MB / 0.4887 GB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.4413, allocations: 0.8921 MB / 0.4896 GB, free: 5.883 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4413, allocations: 0 / 0.4896 GB, free: 5.883 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat