Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",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.001027/0.001027, allocations: 184.5 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 229.9 MB, free: 3.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 109.7 kB / 280.8 MB, free: 1.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09516/0.09611, allocations: 55.81 MB / 336.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.2754, allocations: 50.39 MB / 387 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07482/0.3502, allocations: 76.54 MB / 463.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3505, allocations: 80.8 kB / 463.6 MB, free: 10.2 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.006071/0.3566, allocations: 2.239 MB / 465.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3566, allocations: 8.844 kB / 465.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.3567, allocations: 16.75 kB / 465.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3569, allocations: 199.4 kB / 466.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3569, allocations: 4 kB / 466.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3569, allocations: 0 / 466.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.343e-05/0.357, allocations: 27.98 kB / 466.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3573, allocations: 137.8 kB / 466.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3573, allocations: 4 kB / 466.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3573, allocations: 3.906 kB / 466.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3573, allocations: 0 / 466.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.3576, allocations: 255.2 kB / 466.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.527e-05/0.3577, allocations: 83.62 kB / 466.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.3578, allocations: 32.58 kB / 466.6 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3578, allocations: 8 kB / 466.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3579, allocations: 38.5 kB / 466.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3579, allocations: 0.75 kB / 466.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001838/0.3581, allocations: 74.58 kB / 466.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3581, allocations: 110.7 kB / 466.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3582, allocations: 129.1 kB / 467 MB, free: 6.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3583, allocations: 25.7 kB / 467 MB, free: 6.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.3583, allocations: 92.12 kB / 467.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3583, allocations: 11.91 kB / 467.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.3583, allocations: 0 / 467.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.3584, allocations: 327.8 kB / 467.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.3584, allocations: 8 kB / 467.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.3585, allocations: 54 kB / 467.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/0.3585, allocations: 27.94 kB / 467.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3585, allocations: 0 / 467.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000121/0.3587, allocations: 81.52 kB / 467.6 MB, free: 5.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3587, allocations: 12.25 kB / 467.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3587, allocations: 8 kB / 467.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3587, allocations: 0 / 467.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3588, allocations: 19.98 kB / 467.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3588, allocations: 0 / 467.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.3589, allocations: 4 kB / 467.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3589, allocations: 4.875 kB / 467.6 MB, free: 5.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.56e-05/0.359, allocations: 115.6 kB / 467.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.3591, allocations: 65.59 kB / 467.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.3591, allocations: 20.16 kB / 467.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3591, allocations: 0 / 467.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3591, allocations: 4 kB / 467.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3592, allocations: 4.812 kB / 467.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3593, allocations: 154.1 kB / 468 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3593, allocations: 4 kB / 468 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.3594, allocations: 11.94 kB / 468 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3594, allocations: 4 kB / 468 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3594, allocations: 8.016 kB / 468 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3594, allocations: 1.875 kB / 468 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3594, allocations: 4 kB / 468 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001497/0.3596, allocations: 196.5 kB / 468.2 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002357/0.3598, allocations: 0.5813 MB / 468.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.3599, allocations: 97 kB / 468.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3599, allocations: 0 / 468.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.36, allocations: 15.92 kB / 468.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.3601, allocations: 3.906 kB / 468.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3601, allocations: 4 kB / 468.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.798e-05/0.3601, allocations: 107.8 kB / 469 MB, free: 4.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007939/0.3609, allocations: 15.94 kB / 469 MB, free: 4.414 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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.201e-05/0.361, allocations: 95.25 kB / 469.1 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.3611, allocations: 44.11 kB / 469.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3611, allocations: 4 kB / 469.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.3612, allocations: 3.938 kB / 469.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.3614, allocations: 32.83 kB / 469.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.3618, allocations: 140.9 kB / 469.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.362, allocations: 0.7234 MB / 470.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.362, allocations: 4 kB / 470.1 MB, free: 3.305 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1)