Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001559/0.001559, allocations: 198.8 kB / 8.54 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.301/1.301, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 93.44 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1146/0.1156, allocations: 56.91 MB / 343.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.2179, allocations: 51.47 MB / 394.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.502, allocations: 77.32 MB / 472 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.5023, allocations: 77.03 kB / 472.1 MB, free: 14.37 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.009481/0.5118, allocations: 3.644 MB / 475.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.5118, allocations: 8 kB / 475.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5119, allocations: 23.14 kB / 475.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.5122, allocations: 202.2 kB / 476 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.5122, allocations: 3.938 kB / 476 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.5122, allocations: 4 kB / 476 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.809e-05/0.5123, allocations: 41.62 kB / 476 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.5126, allocations: 182.8 kB / 476.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5126, allocations: 0 / 476.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5126, allocations: 0 / 476.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.5126, allocations: 8.594 kB / 476.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.5129, allocations: 274.5 kB / 476.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.513, allocations: 80.73 kB / 476.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.5131, allocations: 48.25 kB / 476.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5131, allocations: 11.27 kB / 476.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.5131, allocations: 41.88 kB / 476.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.5131, allocations: 1.031 kB / 476.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001988/0.5133, allocations: 82.31 kB / 476.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5134, allocations: 112.3 kB / 476.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.5135, allocations: 136.4 kB / 477 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5135, allocations: 29.73 kB / 477 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.5135, allocations: 80.14 kB / 477.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.5135, allocations: 14.38 kB / 477.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.5135, allocations: 0 / 477.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.5136, allocations: 321.9 kB / 477.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.5136, allocations: 11.44 kB / 477.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.5137, allocations: 81.41 kB / 477.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.5137, allocations: 33.25 kB / 477.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5137, allocations: 3.938 kB / 477.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.5139, allocations: 100.9 kB / 477.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.5139, allocations: 4 kB / 477.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5139, allocations: 4.344 kB / 477.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5139, allocations: 8 kB / 477.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.514, allocations: 31.14 kB / 477.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5141, allocations: 7.938 kB / 477.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.5141, allocations: 7.562 kB / 477.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5142, allocations: 8 kB / 477.7 MB, free: 10.32 MB / 346.7 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 5.059e-05/0.5142, allocations: 107.3 kB / 477.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5143, allocations: 92.03 kB / 477.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.5144, allocations: 15.06 kB / 477.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5144, allocations: 0 / 477.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5144, allocations: 4 kB / 477.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5144, allocations: 0 / 477.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.5145, allocations: 161.8 kB / 478.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5145, allocations: 0 / 478.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5147, allocations: 19.47 kB / 478.1 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5147, allocations: 7.469 kB / 478.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.5147, allocations: 0 / 478.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5147, allocations: 7.938 kB / 478.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5147, allocations: 0 / 478.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000151/0.5149, allocations: 228.3 kB / 478.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001805/0.5151, allocations: 0.5915 MB / 478.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.5151, allocations: 102.5 kB / 479 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.5152, allocations: 0 / 479 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.5153, allocations: 11.47 kB / 479.1 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.5153, allocations: 6.75 kB / 479.1 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.5153, allocations: 4 kB / 479.1 MB, free: 8.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.528e-05/0.5154, allocations: 106.9 kB / 479.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009127/0.5163, allocations: 16 kB / 479.2 MB, free: 8.867 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: 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 9.685e-05/0.5164, allocations: 104.8 kB / 479.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5165, allocations: 65.42 kB / 479.3 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5165, allocations: 0 / 479.3 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.5165, allocations: 4 kB / 479.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.5168, allocations: 53.28 kB / 479.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.5171, allocations: 132.1 kB / 479.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.5173, allocations: 0.7264 MB / 480.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5173, allocations: 4 kB / 480.3 MB, free: 7.801 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1)