Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.001131/0.001131, allocations: 203.3 kB / 8.542 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.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009022/0.0009024, allocations: 99.55 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09337/0.0943, allocations: 56.9 MB / 343.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.1782, allocations: 51.48 MB / 394.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.4034, allocations: 77.32 MB / 472 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4037, allocations: 79.2 kB / 472.1 MB, free: 14.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.004613/0.4083, allocations: 1.757 MB / 473.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.4084, allocations: 8 kB / 473.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.4085, allocations: 31.14 kB / 473.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.4087, allocations: 189.2 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.4087, allocations: 0 / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.4087, allocations: 4 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.841e-05/0.4088, allocations: 23.11 kB / 474.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.409, allocations: 120.3 kB / 474.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.409, allocations: 0 / 474.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.409, allocations: 1.312 kB / 474.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.409, allocations: 7.328 kB / 474.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.4093, allocations: 341.9 kB / 474.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.4094, allocations: 85.28 kB / 474.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.4094, allocations: 42.78 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4095, allocations: 3.938 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.4095, allocations: 38.06 kB / 474.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4095, allocations: 0 / 474.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001899/0.4097, allocations: 75.05 kB / 474.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4097, allocations: 132.5 kB / 474.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.4098, allocations: 128.4 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4098, allocations: 25.7 kB / 475.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.4099, allocations: 83.83 kB / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.4099, allocations: 15.17 kB / 475.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4099, allocations: 2.344 kB / 475.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.4099, allocations: 318.4 kB / 475.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.41, allocations: 7.938 kB / 475.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.41, allocations: 39.23 kB / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.41, allocations: 7.125 kB / 475.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.41, allocations: 4 kB / 475.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.545e-05/0.4101, allocations: 67.03 kB / 475.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4102, allocations: 4 kB / 475.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4102, allocations: 7.188 kB / 475.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.4102, allocations: 3.938 kB / 475.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.4103, allocations: 12 kB / 475.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4103, allocations: 2.438 kB / 475.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.4104, allocations: 15.16 kB / 475.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.4104, allocations: 4 kB / 475.7 MB, free: 11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.278e-05/0.4104, allocations: 104.9 kB / 475.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4105, allocations: 56.05 kB / 475.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.4106, allocations: 10.88 kB / 475.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4106, allocations: 7.906 kB / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4106, allocations: 3.141 kB / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4106, allocations: 0 / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.4108, allocations: 157.4 kB / 476 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4108, allocations: 0 / 476 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.426e-05/0.4109, allocations: 15.28 kB / 476 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4109, allocations: 4 kB / 476 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4109, allocations: 0 / 476 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4109, allocations: 5.406 kB / 476 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4109, allocations: 9.656 kB / 476 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001396/0.4111, allocations: 289.1 kB / 476.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001544/0.4112, allocations: 0.6528 MB / 477 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.4113, allocations: 98.83 kB / 477.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.4113, allocations: 0 / 477.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4114, allocations: 11.94 kB / 477.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.4115, allocations: 7.422 kB / 477.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4115, allocations: 3.984 kB / 477.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.878e-05/0.4115, allocations: 110.3 kB / 477.2 MB, free: 9.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008446/0.4124, allocations: 11.91 kB / 477.2 MB, free: 9.414 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001018/0.4125, allocations: 95.25 kB / 477.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.4126, allocations: 40.95 kB / 477.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4126, allocations: 0 / 477.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.4126, allocations: 4 kB / 477.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.4129, allocations: 34.73 kB / 477.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.4132, allocations: 118.3 kB / 477.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.4134, allocations: 0.7162 MB / 478.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4134, allocations: 0 / 478.2 MB, free: 8.406 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1)