Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001087/0.001087, allocations: 209.1 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.5 MB / 234.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008776/0.0008775, allocations: 87.72 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1086/0.1095, allocations: 56.9 MB / 343.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.2057, allocations: 51.48 MB / 394.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.4394, allocations: 77.25 MB / 472 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001648/0.4396, allocations: 73.06 kB / 472 MB, free: 14.11 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.004492/0.4441, allocations: 1.771 MB / 473.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4442, allocations: 8 kB / 473.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.4443, allocations: 30.73 kB / 473.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4445, allocations: 196.5 kB / 474 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4445, allocations: 8 kB / 474 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4446, allocations: 0 / 474 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.875e-05/0.4447, allocations: 26.84 kB / 474.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.4449, allocations: 127.6 kB / 474.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4449, allocations: 0 / 474.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4449, allocations: 0 / 474.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4449, allocations: 8 kB / 474.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.4452, allocations: 267.4 kB / 474.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.4453, allocations: 82.38 kB / 474.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.4454, allocations: 38 kB / 474.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4454, allocations: 7.188 kB / 474.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.4454, allocations: 37.31 kB / 474.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4454, allocations: 4 kB / 474.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001768/0.4456, allocations: 64.78 kB / 474.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.4456, allocations: 136.6 kB / 474.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.4457, allocations: 131.6 kB / 475 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.4458, allocations: 25.7 kB / 475 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.4458, allocations: 87.39 kB / 475.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.4458, allocations: 7.906 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4458, allocations: 0 / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.4459, allocations: 317.4 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.4459, allocations: 7.375 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.4459, allocations: 48.47 kB / 475.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.4459, allocations: 11.16 kB / 475.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4459, allocations: 0 / 475.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.097e-05/0.446, allocations: 72.36 kB / 475.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.4461, allocations: 4 kB / 475.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4461, allocations: 4 kB / 475.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.4461, allocations: 0 / 475.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.4462, allocations: 15.42 kB / 475.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4462, allocations: 7.906 kB / 475.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.4462, allocations: 6.688 kB / 475.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4463, allocations: 4 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.236e-05/0.4463, allocations: 113.6 kB / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.4464, allocations: 60.81 kB / 475.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.4465, allocations: 14.58 kB / 475.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4465, allocations: 4 kB / 475.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4465, allocations: 0 / 475.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4465, allocations: 3.938 kB / 475.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.4466, allocations: 158.3 kB / 475.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4466, allocations: 8.094 kB / 475.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.4467, allocations: 15.36 kB / 475.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4467, allocations: 7.906 kB / 475.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4467, allocations: 0 / 475.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4467, allocations: 4 kB / 475.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4467, allocations: 0 / 475.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001126/0.4468, allocations: 221.2 kB / 476.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001397/0.447, allocations: 0.5878 MB / 476.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.447, allocations: 91.59 kB / 476.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4471, allocations: 8.5 kB / 476.8 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.4472, allocations: 8 kB / 476.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.4472, allocations: 3.906 kB / 476.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.4472, allocations: 4 kB / 476.9 MB, free: 9.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.951e-05/0.4473, allocations: 112.9 kB / 477 MB, free: 9.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008225/0.4481, allocations: 8 kB / 477 MB, free: 9.672 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 8.762e-05/0.4482, allocations: 99.19 kB / 477.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.4483, allocations: 32.81 kB / 477.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4483, allocations: 4.375 kB / 477.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.4483, allocations: 7.422 kB / 477.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.4486, allocations: 33.69 kB / 477.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.4488, allocations: 128.3 kB / 477.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.449, allocations: 0.7083 MB / 478 MB, free: 8.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.449, allocations: 4 kB / 478 MB, free: 8.656 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1)