Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",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 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 186 kB / 8.136 MB, free: 2.684 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.123/1.123, allocations: 221.4 MB / 229.9 MB, free: 7.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008988/0.0008986, allocations: 103.1 kB / 280.8 MB, free: 5.133 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 0.09454/0.09547, allocations: 55.83 MB / 336.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.2841, allocations: 50.38 MB / 387 MB, free: 40.51 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08083/0.365, allocations: 76.51 MB / 463.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.3652, allocations: 87.88 kB / 463.6 MB, free: 14.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01001/0.3752, allocations: 3.532 MB / 467.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3753, allocations: 8 kB / 467.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3753, allocations: 19.81 kB / 467.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3756, allocations: 201.4 kB / 467.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3756, allocations: 7.906 kB / 467.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3756, allocations: 8.562 kB / 467.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.3757, allocations: 39.98 kB / 467.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.3761, allocations: 190.3 kB / 467.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3761, allocations: 4 kB / 467.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3761, allocations: 0 / 467.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3761, allocations: 0 / 467.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.3765, allocations: 271.8 kB / 467.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3766, allocations: 79.77 kB / 467.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.3766, allocations: 42.75 kB / 468 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3767, allocations: 11.94 kB / 468 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3767, allocations: 34.56 kB / 468 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.3767, allocations: 0 / 468 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002195/0.3769, allocations: 93.52 kB / 468.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.377, allocations: 106.8 kB / 468.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3771, allocations: 125.5 kB / 468.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3771, allocations: 25.7 kB / 468.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.3772, allocations: 96.02 kB / 468.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.3772, allocations: 15.92 kB / 468.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.3772, allocations: 4 kB / 468.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3774, allocations: 318.8 kB / 468.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.3774, allocations: 13.69 kB / 468.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.3775, allocations: 89.12 kB / 468.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.3775, allocations: 16 kB / 468.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3775, allocations: 4 kB / 468.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001628/0.3777, allocations: 110.6 kB / 469 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3777, allocations: 4 kB / 469 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3777, allocations: 4 kB / 469 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3777, allocations: 0 / 469 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3779, allocations: 28.27 kB / 469.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3779, allocations: 11.91 kB / 469.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.378, allocations: 19.86 kB / 469.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.378, allocations: 4 kB / 469.1 MB, free: 8.285 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.643e-05/0.3781, allocations: 112.9 kB / 469.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3782, allocations: 79.69 kB / 469.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.3782, allocations: 16.17 kB / 469.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3782, allocations: 4 kB / 469.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3783, allocations: 4 kB / 469.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3783, allocations: 0 / 469.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3784, allocations: 159 kB / 469.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3784, allocations: 0 / 469.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3786, allocations: 31.91 kB / 469.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3786, allocations: 0 / 469.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3786, allocations: 4 kB / 469.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3786, allocations: 4 kB / 469.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3786, allocations: 0 / 469.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001952/0.3788, allocations: 224.7 kB / 469.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002791/0.3791, allocations: 0.6024 MB / 470.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.3792, allocations: 102.1 kB / 470.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3792, allocations: 4 kB / 470.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3793, allocations: 7.984 kB / 470.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3794, allocations: 0 / 470.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.3794, allocations: 8 kB / 470.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.339e-05/0.3795, allocations: 106.2 kB / 470.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008022/0.3803, allocations: 12 kB / 470.6 MB, free: 6.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001017/0.3804, allocations: 103.2 kB / 470.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3805, allocations: 63.86 kB / 470.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3805, allocations: 5.188 kB / 470.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.3805, allocations: 0 / 470.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3808, allocations: 60.44 kB / 470.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.3812, allocations: 133 kB / 470.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.3815, allocations: 0.7231 MB / 471.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.645e-06/0.3815, allocations: 0 / 471.6 MB, free: 5.539 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1)