Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001188/0.001188, allocations: 203.2 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.5 MB / 234.4 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 93.84 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1063/0.1074, allocations: 56.9 MB / 343.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.2071, allocations: 51.47 MB / 394.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/0.4803, allocations: 77.11 MB / 471.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.4805, allocations: 69.17 kB / 471.9 MB, free: 14.29 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.005727/0.4862, allocations: 2.251 MB / 474.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4863, allocations: 12 kB / 474.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.4864, allocations: 23.28 kB / 474.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4866, allocations: 192.9 kB / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4866, allocations: 3.188 kB / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.4866, allocations: 4 kB / 474.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.794e-05/0.4867, allocations: 11.5 kB / 474.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4869, allocations: 106.6 kB / 474.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4869, allocations: 3.938 kB / 474.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.487, allocations: 0 / 474.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.487, allocations: 0 / 474.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.4872, allocations: 262.4 kB / 474.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.4873, allocations: 63.11 kB / 474.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.4874, allocations: 23.42 kB / 474.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4874, allocations: 14.73 kB / 474.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.4874, allocations: 30.56 kB / 474.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4874, allocations: 0 / 474.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.4876, allocations: 60.39 kB / 474.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4876, allocations: 107.6 kB / 475 MB, free: 11.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4878, allocations: 129.6 kB / 475.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.4878, allocations: 25.7 kB / 475.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.4878, allocations: 87.61 kB / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.4878, allocations: 7.938 kB / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4878, allocations: 0 / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.4879, allocations: 318 kB / 475.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.4879, allocations: 7.938 kB / 475.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.4879, allocations: 33.84 kB / 475.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/0.488, allocations: 10.77 kB / 475.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.488, allocations: 0 / 475.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.374e-05/0.488, allocations: 56.02 kB / 475.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4881, allocations: 8 kB / 475.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4881, allocations: 0 / 475.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4881, allocations: 4.125 kB / 475.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.4882, allocations: 8 kB / 475.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4882, allocations: 4 kB / 475.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.4882, allocations: 11.14 kB / 475.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4883, allocations: 0 / 475.7 MB, free: 11.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.845e-05/0.4883, allocations: 104.9 kB / 475.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.4884, allocations: 56.69 kB / 475.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.4884, allocations: 7.188 kB / 475.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4884, allocations: 4 kB / 475.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4884, allocations: 0 / 475.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4884, allocations: 3.906 kB / 475.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.4886, allocations: 151.1 kB / 476.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4886, allocations: 0 / 476.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.4886, allocations: 16.19 kB / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4887, allocations: 0 / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4887, allocations: 4 kB / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4887, allocations: 4.031 kB / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4887, allocations: 0 / 476.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000106/0.4888, allocations: 185.2 kB / 476.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001323/0.4889, allocations: 0.5627 MB / 476.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.489, allocations: 93.05 kB / 476.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.489, allocations: 3.328 kB / 476.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.4891, allocations: 8 kB / 476.9 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.4891, allocations: 4 kB / 476.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4891, allocations: 0 / 476.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.517e-05/0.4892, allocations: 103.9 kB / 477 MB, free: 9.898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007974/0.49, allocations: 27.06 kB / 477.1 MB, free: 9.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.108e-05/0.4901, allocations: 95.81 kB / 477.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.4902, allocations: 21.25 kB / 477.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4902, allocations: 4.062 kB / 477.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.4902, allocations: 4 kB / 477.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4904, allocations: 21.27 kB / 477.2 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.4907, allocations: 109.1 kB / 477.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4908, allocations: 0.7051 MB / 478 MB, free: 8.898 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4908, allocations: 4.25 kB / 478 MB, free: 8.895 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)