Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00106/0.00106, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, 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.00079/0.00079, allocations: 92.7 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09464/0.09545, allocations: 56.9 MB / 343.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.191, allocations: 51.48 MB / 394.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.4304, allocations: 77.37 MB / 472.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.4306, allocations: 61.17 kB / 472.1 MB, free: 14.01 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.009712/0.4403, allocations: 4.417 MB / 476.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4404, allocations: 8 kB / 476.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.4404, allocations: 31.62 kB / 476.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.4406, allocations: 234.2 kB / 476.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4407, allocations: 8 kB / 476.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.4407, allocations: 15.94 kB / 476.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002396/0.441, allocations: 139.3 kB / 477 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.4412, allocations: 194.6 kB / 477.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4412, allocations: 11.78 kB / 477.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4413, allocations: 0 / 477.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4413, allocations: 4 kB / 477.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.4421, allocations: 0.7519 MB / 477.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.4423, allocations: 206.6 kB / 478.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.4425, allocations: 124.9 kB / 478.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4426, allocations: 7.391 kB / 478.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.4426, allocations: 38.06 kB / 478.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.4426, allocations: 0.75 kB / 478.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.001712/0.4443, allocations: 1.729 MB / 480 MB, free: 8.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4444, allocations: 110.1 kB / 480.1 MB, free: 8.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.4445, allocations: 140.2 kB / 480.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4445, allocations: 25.7 kB / 480.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.4445, allocations: 130 kB / 480.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.4446, allocations: 150.9 kB / 480.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4446, allocations: 0 / 480.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.4447, allocations: 338.3 kB / 480.9 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4448, allocations: 80.19 kB / 481 MB, free: 7.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.4449, allocations: 141.7 kB / 481.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.4451, allocations: 106.1 kB / 481.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4451, allocations: 0 / 481.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003667/0.4455, allocations: 292.8 kB / 481.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.4455, allocations: 7.438 kB / 481.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4455, allocations: 10.83 kB / 481.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4455, allocations: 4 kB / 481.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.4459, allocations: 93.25 kB / 481.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4459, allocations: 7.938 kB / 481.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.446, allocations: 4 kB / 481.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.446, allocations: 11.88 kB / 481.7 MB, free: 6.914 MB / 346.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 6.526e-05/0.4461, allocations: 119.5 kB / 481.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.4462, allocations: 27.62 kB / 481.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.4462, allocations: 33.44 kB / 481.8 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4462, allocations: 8.047 kB / 481.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4463, allocations: 3.984 kB / 481.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4463, allocations: 3.797 kB / 481.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4473, allocations: 0.9668 MB / 482.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4473, allocations: 7.906 kB / 482.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.4477, allocations: 86.23 kB / 482.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.4477, allocations: 11.94 kB / 482.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.4477, allocations: 4.75 kB / 482.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4477, allocations: 8.781 kB / 482.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4477, allocations: 8 kB / 482.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005464/0.4483, allocations: 0.7959 MB / 483.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006714/0.449, allocations: 1.281 MB / 485 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.449, allocations: 106 kB / 485.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.4491, allocations: 4.656 kB / 485.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.4493, allocations: 0.5625 kB / 485.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.4493, allocations: 24.73 kB / 485.1 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.4494, allocations: 17.33 kB / 485.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.985e-05/0.4494, allocations: 114.5 kB / 485.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001005/0.4504, allocations: 63.91 kB / 485.3 MB, free: 3.559 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 9.74e-05/0.4505, allocations: 109.6 kB / 485.4 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.4508, allocations: 229.6 kB / 485.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4508, allocations: 0 / 485.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.451, allocations: 133 kB / 485.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.4514, allocations: 45.94 kB / 485.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009663/0.4524, allocations: 0.7596 MB / 486.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.4527, allocations: 0.8118 MB / 487.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4527, allocations: 4 kB / 487.4 MB, free: 1.617 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat