Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",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.004282/0.004282, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.841/0.841, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 395 MB, free: 10.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 107.5 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4755/0.4766, allocations: 88.42 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.6675, allocations: 82.3 MB / 0.6333 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.586/1.254, allocations: 118.5 MB / 0.749 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.254, allocations: 79.16 kB / 0.7491 GB, free: 10.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.05091/1.305, allocations: 17.43 MB / 0.7661 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.305, allocations: 9.094 kB / 0.7661 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/1.305, allocations: 93.53 kB / 0.7662 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.306, allocations: 0.5856 MB / 0.7668 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.306, allocations: 86.7 kB / 0.7669 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/1.306, allocations: 31.47 kB / 0.7669 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008165/1.307, allocations: 338.5 kB / 0.7672 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009825/1.308, allocations: 0.5053 MB / 0.7677 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/1.308, allocations: 5.031 kB / 0.7677 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/1.308, allocations: 5.484 kB / 0.7677 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/1.308, allocations: 12.56 kB / 0.7677 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/1.312, allocations: 2.1 MB / 0.7698 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/1.313, allocations: 418.1 kB / 0.7702 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/1.313, allocations: 160.2 kB / 0.7703 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/1.313, allocations: 4.125 kB / 0.7703 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/1.313, allocations: 235.9 kB / 0.7706 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.657e-06/1.313, allocations: 0 / 0.7706 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.0007981/1.314, allocations: 385.8 kB / 0.7709 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.314, allocations: 189.5 kB / 0.7711 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/1.315, allocations: 472.6 kB / 0.7716 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/1.315, allocations: 31.69 kB / 0.7716 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/1.315, allocations: 247.4 kB / 0.7718 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.315, allocations: 148.4 kB / 0.772 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/1.315, allocations: 1.062 kB / 0.772 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.316, allocations: 390.8 kB / 0.7723 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/1.316, allocations: 135.1 kB / 0.7725 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/1.316, allocations: 267.4 kB / 0.7727 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/1.316, allocations: 161.2 kB / 0.7729 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.316, allocations: 1.406 kB / 0.7729 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008891/1.317, allocations: 479.8 kB / 0.7733 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003449/1.318, allocations: 0.9553 MB / 0.7743 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.318, allocations: 3.219 kB / 0.7743 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.318, allocations: 12.28 kB / 0.7743 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.318, allocations: 133.3 kB / 0.7744 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.318, allocations: 5.688 kB / 0.7744 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/1.319, allocations: 73.86 kB / 0.7745 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/1.319, allocations: 17.31 kB / 0.7745 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.319, allocations: 6.656 kB / 0.7745 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007001/1.32, allocations: 379.1 kB / 0.7749 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.32, allocations: 2.094 kB / 0.7749 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/1.32, allocations: 5.438 kB / 0.7749 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/1.32, allocations: 118.6 kB / 0.775 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.32, allocations: 11 kB / 0.775 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/1.321, allocations: 56.41 kB / 0.7751 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/1.321, allocations: 17.25 kB / 0.7751 GB, free: 16.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001904/1.321, allocations: 128.1 kB / 0.7752 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.321, allocations: 74.23 kB / 0.7753 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/1.321, allocations: 69.86 kB / 0.7753 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.321, allocations: 2.75 kB / 0.7753 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.321, allocations: 2.594 kB / 0.7753 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.321, allocations: 7.984 kB / 0.7753 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/1.322, allocations: 0.5756 MB / 0.7759 GB, free: 16.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.322, allocations: 0 / 0.7759 GB, free: 16.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/1.323, allocations: 102.6 kB / 0.776 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.323, allocations: 2.75 kB / 0.776 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/1.323, allocations: 2.625 kB / 0.776 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.323, allocations: 3.984 kB / 0.776 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.323, allocations: 0 / 0.776 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009093/1.324, allocations: 0.6201 MB / 0.7766 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001247/1.325, allocations: 1.216 MB / 0.7778 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/1.325, allocations: 200.1 kB / 0.778 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.325, allocations: 2.75 kB / 0.778 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/1.326, allocations: 64.34 kB / 0.7781 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/1.326, allocations: 28.14 kB / 0.7781 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/1.326, allocations: 17.48 kB / 0.7781 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004217/1.326, allocations: 365.9 kB / 0.7785 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002082/1.328, allocations: 212.4 kB / 0.7787 GB, free: 15.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002789/1.329, allocations: 112.2 kB / 0.7788 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001579/1.33, allocations: 0.6533 MB / 0.7794 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.33, allocations: 4.969 kB / 0.7794 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/1.331, allocations: 182.5 kB / 0.7796 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/1.332, allocations: 162.6 kB / 0.7797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/1.334, allocations: 0.89 MB / 0.7806 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008542/1.335, allocations: 1.006 MB / 0.7816 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/1.335, allocations: 0 / 0.7816 GB, free: 13.51 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)