Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001861/0.001861, allocations: 198.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 89.78 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1325/0.1336, allocations: 56.91 MB / 343.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.248, allocations: 51.48 MB / 394.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/0.5353, allocations: 77.06 MB / 471.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.5356, allocations: 80.38 kB / 471.9 MB, free: 14.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.006355/0.5419, allocations: 2.245 MB / 474.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.542, allocations: 8 kB / 474.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.5422, allocations: 23.14 kB / 474.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.5424, allocations: 183.6 kB / 474.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.5424, allocations: 0 / 474.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.5424, allocations: 7.938 kB / 474.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.63e-05/0.5425, allocations: 19.5 kB / 474.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.5427, allocations: 92.78 kB / 474.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5427, allocations: 0 / 474.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5427, allocations: 0 / 474.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5427, allocations: 0 / 474.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.543, allocations: 253 kB / 474.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.5431, allocations: 37.16 kB / 474.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.5431, allocations: 17.59 kB / 474.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5431, allocations: 4 kB / 474.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.5431, allocations: 31.88 kB / 474.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.5431, allocations: 0 / 474.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000156/0.5433, allocations: 51.88 kB / 474.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5433, allocations: 77.11 kB / 474.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.5434, allocations: 125.3 kB / 475 MB, free: 12.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.5435, allocations: 29.7 kB / 475 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.5435, allocations: 95.27 kB / 475.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.5435, allocations: 3.906 kB / 475.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.5435, allocations: 0 / 475.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.5436, allocations: 317.3 kB / 475.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.5436, allocations: 4 kB / 475.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.5436, allocations: 13.72 kB / 475.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.5436, allocations: 7.562 kB / 475.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5436, allocations: 4 kB / 475.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.82e-05/0.5437, allocations: 44.78 kB / 475.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5437, allocations: 4 kB / 475.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5437, allocations: 4 kB / 475.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.5438, allocations: 0 / 475.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.5438, allocations: 10.41 kB / 475.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.5438, allocations: 0 / 475.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.5439, allocations: 8.062 kB / 475.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.5439, allocations: 0 / 475.5 MB, free: 11.56 MB / 346.7 MB 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 (2): * Single equations (assignments): 2 * 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 3.915e-05/0.5439, allocations: 111.6 kB / 475.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.544, allocations: 41.45 kB / 475.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.544, allocations: 13.97 kB / 475.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.544, allocations: 0 / 475.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5441, allocations: 4 kB / 475.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5441, allocations: 32 / 475.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.5442, allocations: 144.8 kB / 475.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5442, allocations: 0 / 475.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.5442, allocations: 10.45 kB / 475.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.5443, allocations: 4 kB / 475.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5443, allocations: 0 / 475.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5443, allocations: 3.906 kB / 475.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5443, allocations: 1.375 kB / 475.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.583e-05/0.5444, allocations: 160.4 kB / 476 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001163/0.5445, allocations: 0.5298 MB / 476.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.5446, allocations: 98.38 kB / 476.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.5446, allocations: 0 / 476.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.5447, allocations: 4 kB / 476.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.5447, allocations: 7.984 kB / 476.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.5447, allocations: 3.375 kB / 476.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.209e-05/0.5448, allocations: 108.3 kB / 476.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008214/0.5456, allocations: 4 kB / 476.8 MB, free: 10.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.21e-05/0.5457, allocations: 100.8 kB / 476.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.5458, allocations: 14.94 kB / 476.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5458, allocations: 0 / 476.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.5458, allocations: 7.188 kB / 476.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.546, allocations: 16.03 kB / 476.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.5463, allocations: 95.62 kB / 477 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5465, allocations: 0.7116 MB / 477.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5465, allocations: 0 / 477.7 MB, free: 9.312 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)