Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",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 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 179.7 kB / 8.474 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.2 MB / 214.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.0008902, allocations: 87.62 kB / 262.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09044/0.09136, allocations: 52.98 MB / 315.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.2771, allocations: 47.57 MB / 362.6 MB, free: 45.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07991/0.357, allocations: 75.34 MB / 438 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.3572, allocations: 63.95 kB / 438 MB, free: 10.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0117/0.3689, allocations: 4.309 MB / 442.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.369, allocations: 8 kB / 442.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.3691, allocations: 31.62 kB / 442.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3693, allocations: 239.2 kB / 442.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3693, allocations: 10.53 kB / 442.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.3694, allocations: 12 kB / 442.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/0.3697, allocations: 141 kB / 442.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.37, allocations: 197.7 kB / 443 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.37, allocations: 7.906 kB / 443 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.3701, allocations: 0 / 443 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.3701, allocations: 4 kB / 443 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3711, allocations: 0.7507 MB / 443.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.3714, allocations: 205.1 kB / 443.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.3717, allocations: 125.4 kB / 444.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3717, allocations: 8 kB / 444.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3717, allocations: 34.56 kB / 444.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.3717, allocations: 0 / 444.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002146/0.3739, allocations: 1.729 MB / 445.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3739, allocations: 110.8 kB / 445.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3741, allocations: 140.3 kB / 446.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3741, allocations: 25.7 kB / 446.1 MB, free: 1.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3742, allocations: 132.6 kB / 446.2 MB, free: 1.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3743, allocations: 153.7 kB / 446.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.3743, allocations: 0 / 446.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3745, allocations: 338.8 kB / 446.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3746, allocations: 76.88 kB / 446.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3748, allocations: 142.9 kB / 446.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.375, allocations: 111.9 kB / 447 MB, free: 1.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.375, allocations: 0 / 447 MB, free: 1.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004752/0.3755, allocations: 281.8 kB / 447.3 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3755, allocations: 4 kB / 447.3 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3755, allocations: 4 kB / 447.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3755, allocations: 4 kB / 447.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.3759, allocations: 95.98 kB / 447.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3759, allocations: 7.938 kB / 447.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.376, allocations: 4 kB / 447.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3761, allocations: 12 kB / 447.4 MB, free: 0.6094 MB / 330.7 MB 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 (54): * Single equations (assignments): 54 * 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.244e-05/0.3762, allocations: 112.9 kB / 447.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3763, allocations: 31.61 kB / 447.6 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.3763, allocations: 29.59 kB / 447.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3764, allocations: 4 kB / 447.6 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3764, allocations: 4.688 kB / 447.6 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3764, allocations: 12.02 kB / 447.6 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.3776, allocations: 0.9587 MB / 448.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3777, allocations: 4.188 kB / 448.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.3781, allocations: 98.45 kB / 448.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.3781, allocations: 4 kB / 448.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3781, allocations: 4 kB / 448.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.3781, allocations: 11.94 kB / 448.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3782, allocations: 0 / 448.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007632/0.3789, allocations: 0.8028 MB / 449.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001022/0.38, allocations: 1.284 MB / 450.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.38, allocations: 112.7 kB / 450.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.3801, allocations: 4 kB / 450.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3803, allocations: 0 / 450.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3804, allocations: 31.91 kB / 450.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3804, allocations: 12 kB / 450.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.285e-05/0.3805, allocations: 120.3 kB / 451.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009954/0.3815, allocations: 71.84 kB / 451.1 MB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001524/0.3817, allocations: 107.2 kB / 451.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.3821, allocations: 238.5 kB / 451.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3821, allocations: 0 / 451.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3823, allocations: 122.5 kB / 451.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.3827, allocations: 43.64 kB / 451.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3841, allocations: 0.7635 MB / 452.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.3846, allocations: 0.8112 MB / 453.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3846, allocations: 0 / 453.2 MB, free: 10.44 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat