Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",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.003449/0.00345, allocations: 182.8 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.715/0.715, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.516/1.516, allocations: 221.3 MB / 395 MB, free: 10.14 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.001399/0.001399, allocations: 99.27 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4666/0.4681, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.6539, allocations: 82.3 MB / 0.6333 GB, free: 13.89 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6814/1.335, allocations: 118.8 MB / 0.7494 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.336, allocations: 79.05 kB / 0.7494 GB, free: 10.64 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.06393/1.4, allocations: 20.5 MB / 0.7695 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.116e-05/1.4, allocations: 9.156 kB / 0.7695 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.401, allocations: 122.7 kB / 0.7696 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/1.403, allocations: 0.7297 MB / 0.7703 GB, free: 19.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/1.403, allocations: 60.77 kB / 0.7703 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/1.404, allocations: 44.41 kB / 0.7704 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001503/1.405, allocations: 452 kB / 0.7708 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/1.407, allocations: 0.6222 MB / 0.7714 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.407, allocations: 1.125 kB / 0.7714 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/1.407, allocations: 8.906 kB / 0.7714 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/1.407, allocations: 16 kB / 0.7715 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/1.412, allocations: 2.208 MB / 0.7736 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.413, allocations: 0.5383 MB / 0.7741 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/1.413, allocations: 203.7 kB / 0.7743 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/1.413, allocations: 13.45 kB / 0.7743 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/1.414, allocations: 274.4 kB / 0.7746 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.316e-06/1.414, allocations: 3.938 kB / 0.7746 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0009438/1.415, allocations: 493.9 kB / 0.7751 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/1.415, allocations: 134.7 kB / 0.7752 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/1.415, allocations: 0.5559 MB / 0.7758 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/1.415, allocations: 29.64 kB / 0.7758 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/1.416, allocations: 306.1 kB / 0.7761 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.416, allocations: 194.1 kB / 0.7763 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.416, allocations: 2.25 kB / 0.7763 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.416, allocations: 332.4 kB / 0.7766 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.416, allocations: 166.8 kB / 0.7767 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/1.417, allocations: 283.7 kB / 0.777 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/1.417, allocations: 198.9 kB / 0.7772 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.417, allocations: 1.344 kB / 0.7772 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001098/1.418, allocations: 0.5613 MB / 0.7777 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003688/1.419, allocations: 0.8716 MB / 0.7786 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.419, allocations: 6.844 kB / 0.7786 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/1.419, allocations: 5.5 kB / 0.7786 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.42, allocations: 164.3 kB / 0.7788 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/1.42, allocations: 4.812 kB / 0.7788 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/1.42, allocations: 72.11 kB / 0.7788 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.42, allocations: 18.5 kB / 0.7789 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/1.42, allocations: 10.66 kB / 0.7789 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008439/1.421, allocations: 448.5 kB / 0.7793 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.421, allocations: 2 kB / 0.7793 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/1.421, allocations: 9.812 kB / 0.7793 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/1.422, allocations: 160.9 kB / 0.7795 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.422, allocations: 4.656 kB / 0.7795 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/1.423, allocations: 58.56 kB / 0.7795 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/1.423, allocations: 19.25 kB / 0.7795 GB, free: 14.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0002102/1.423, allocations: 125 kB / 0.7797 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/1.423, allocations: 88.95 kB / 0.7797 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/1.424, allocations: 94.88 kB / 0.7798 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.424, allocations: 5.906 kB / 0.7798 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.424, allocations: 0.75 kB / 0.7798 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.424, allocations: 0 / 0.7798 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/1.426, allocations: 1.319 MB / 0.7811 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.426, allocations: 0.8438 kB / 0.7811 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/1.427, allocations: 116.3 kB / 0.7812 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/1.427, allocations: 2.656 kB / 0.7812 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/1.427, allocations: 6.547 kB / 0.7812 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.427, allocations: 2.156 kB / 0.7812 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.427, allocations: 0.625 kB / 0.7812 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001256/1.428, allocations: 0.8806 MB / 0.7821 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001632/1.43, allocations: 1.518 MB / 0.7836 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/1.43, allocations: 223 kB / 0.7838 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/1.431, allocations: 7.109 kB / 0.7838 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.431, allocations: 55.8 kB / 0.7839 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.431, allocations: 28.2 kB / 0.7839 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.431, allocations: 23.61 kB / 0.7839 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0007933/1.432, allocations: 432.8 kB / 0.7843 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00248/1.435, allocations: 266.9 kB / 0.7846 GB, free: 11.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002195/1.435, allocations: 111.1 kB / 0.7847 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001574/1.437, allocations: 0.7454 MB / 0.7854 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.437, allocations: 4.375 kB / 0.7854 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/1.437, allocations: 243.5 kB / 0.7857 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.438, allocations: 200.3 kB / 0.7858 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/1.442, allocations: 1.161 MB / 0.787 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.443, allocations: 1.11 MB / 0.7881 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/1.443, allocations: 0 / 0.7881 GB, free: 8.461 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)