Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_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.004101/0.004101, 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.7415/0.7415, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.496/1.496, allocations: 221.3 MB / 395 MB, free: 10.25 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.00111/0.001111, allocations: 98.27 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4394/0.4406, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.6126, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.553/1.166, allocations: 118.8 MB / 0.7494 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.166, allocations: 77.8 kB / 0.7494 GB, free: 10.83 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.05635/1.222, allocations: 20.51 MB / 0.7695 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.222, allocations: 9.031 kB / 0.7695 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/1.223, allocations: 126.9 kB / 0.7696 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.224, allocations: 0.7371 MB / 0.7703 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.224, allocations: 58.2 kB / 0.7704 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.224, allocations: 39.97 kB / 0.7704 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009424/1.225, allocations: 445.7 kB / 0.7708 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.226, allocations: 0.6225 MB / 0.7714 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/1.226, allocations: 3.938 kB / 0.7714 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/1.227, allocations: 9.141 kB / 0.7714 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/1.227, allocations: 16.62 kB / 0.7715 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/1.23, allocations: 2.208 MB / 0.7736 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.231, allocations: 0.5399 MB / 0.7741 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/1.231, allocations: 201.5 kB / 0.7743 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.107e-05/1.232, allocations: 10.02 kB / 0.7743 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/1.232, allocations: 279.8 kB / 0.7746 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/1.232, allocations: 0 / 0.7746 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0009334/1.233, allocations: 495.9 kB / 0.7751 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/1.233, allocations: 141.3 kB / 0.7752 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/1.234, allocations: 0.5542 MB / 0.7758 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/1.234, allocations: 28.48 kB / 0.7758 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/1.234, allocations: 294.6 kB / 0.7761 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.234, allocations: 194.4 kB / 0.7763 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.234, allocations: 2.906 kB / 0.7763 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.234, allocations: 326.6 kB / 0.7766 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/1.235, allocations: 172.5 kB / 0.7767 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/1.235, allocations: 287.8 kB / 0.777 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/1.235, allocations: 199.8 kB / 0.7772 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.235, allocations: 1.375 kB / 0.7772 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001043/1.236, allocations: 0.5623 MB / 0.7778 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004498/1.237, allocations: 0.8735 MB / 0.7786 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.237, allocations: 6.062 kB / 0.7786 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.237, allocations: 5.438 kB / 0.7786 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.238, allocations: 161.3 kB / 0.7788 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.238, allocations: 9.25 kB / 0.7788 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/1.239, allocations: 67.59 kB / 0.7788 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/1.239, allocations: 25.98 kB / 0.7789 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.239, allocations: 4.031 kB / 0.7789 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008327/1.239, allocations: 444.2 kB / 0.7793 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.239, allocations: 1.812 kB / 0.7793 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/1.239, allocations: 5.938 kB / 0.7793 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/1.24, allocations: 159.6 kB / 0.7795 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.24, allocations: 12.5 kB / 0.7795 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/1.241, allocations: 62.28 kB / 0.7795 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/1.241, allocations: 18.97 kB / 0.7795 GB, free: 15.14 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.0001909/1.241, allocations: 123.9 kB / 0.7797 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/1.241, allocations: 88.97 kB / 0.7797 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/1.242, allocations: 89.25 kB / 0.7798 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.242, allocations: 10.36 kB / 0.7798 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.242, allocations: 0 / 0.7798 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.242, allocations: 0.6562 kB / 0.7798 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/1.244, allocations: 1.314 MB / 0.7811 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.244, allocations: 4 kB / 0.7811 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/1.244, allocations: 112.7 kB / 0.7812 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.244, allocations: 2.469 kB / 0.7812 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/1.245, allocations: 9.672 kB / 0.7812 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.245, allocations: 2.438 kB / 0.7813 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.245, allocations: 4.781 kB / 0.7813 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00131/1.246, allocations: 0.8667 MB / 0.7821 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001637/1.248, allocations: 1.525 MB / 0.7836 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/1.248, allocations: 222.9 kB / 0.7838 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.248, allocations: 4 kB / 0.7838 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/1.249, allocations: 55.48 kB / 0.7839 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/1.249, allocations: 31.75 kB / 0.7839 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/1.249, allocations: 19.8 kB / 0.7839 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006741/1.249, allocations: 433.5 kB / 0.7843 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002347/1.252, allocations: 266.9 kB / 0.7846 GB, free: 12.04 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.0002601/1.252, allocations: 114.9 kB / 0.7847 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001556/1.254, allocations: 0.741 MB / 0.7854 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.254, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/1.254, allocations: 238.8 kB / 0.7856 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.255, allocations: 210.5 kB / 0.7858 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/1.258, allocations: 1.17 MB / 0.787 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/1.259, allocations: 1.099 MB / 0.7881 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/1.259, allocations: 0 / 0.7881 GB, free: 8.941 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)