Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_dev_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.003459/0.003459, allocations: 185.7 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6934/0.6934, 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.485/1.485, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009718/0.0009717, allocations: 102.7 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.439/0.44, allocations: 88.41 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.601, allocations: 82.32 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5047/1.106, allocations: 118.5 MB / 0.749 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.106, allocations: 81.33 kB / 0.7491 GB, free: 10.71 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.05189/1.158, allocations: 17.44 MB / 0.7661 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/1.158, allocations: 8.656 kB / 0.7661 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/1.158, allocations: 93.69 kB / 0.7662 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/1.16, allocations: 0.5822 MB / 0.7668 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/1.16, allocations: 77.84 kB / 0.7669 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/1.16, allocations: 35.31 kB / 0.7669 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008135/1.161, allocations: 339.4 kB / 0.7672 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/1.162, allocations: 0.5097 MB / 0.7677 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.162, allocations: 0 / 0.7677 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/1.162, allocations: 1.469 kB / 0.7677 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.162, allocations: 12.72 kB / 0.7677 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/1.165, allocations: 2.107 MB / 0.7698 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/1.166, allocations: 421.8 kB / 0.7702 GB, free: 19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/1.166, allocations: 156.4 kB / 0.7703 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/1.166, allocations: 9.047 kB / 0.7703 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/1.167, allocations: 237.2 kB / 0.7706 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/1.167, allocations: 0 / 0.7706 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.0007596/1.167, allocations: 375.9 kB / 0.7709 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.168, allocations: 193.5 kB / 0.7711 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/1.168, allocations: 477.4 kB / 0.7716 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/1.168, allocations: 26.95 kB / 0.7716 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.168, allocations: 249.4 kB / 0.7718 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.169, allocations: 152.5 kB / 0.772 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/1.169, allocations: 1.156 kB / 0.772 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.169, allocations: 383.7 kB / 0.7723 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/1.169, allocations: 137.8 kB / 0.7725 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/1.169, allocations: 270.5 kB / 0.7727 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/1.17, allocations: 160.5 kB / 0.7729 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.17, allocations: 1.219 kB / 0.7729 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009364/1.171, allocations: 482.7 kB / 0.7733 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004321/1.171, allocations: 0.9604 MB / 0.7743 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.171, allocations: 2.594 kB / 0.7743 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.171, allocations: 5.375 kB / 0.7743 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/1.172, allocations: 126.5 kB / 0.7744 GB, free: 16.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.172, allocations: 4.219 kB / 0.7744 GB, free: 16.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/1.172, allocations: 75.17 kB / 0.7745 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/1.172, allocations: 25.25 kB / 0.7745 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/1.172, allocations: 3.375 kB / 0.7745 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007482/1.173, allocations: 368.9 kB / 0.7749 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.173, allocations: 3.594 kB / 0.7749 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/1.173, allocations: 5.406 kB / 0.7749 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/1.174, allocations: 120.1 kB / 0.775 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.174, allocations: 9.5 kB / 0.775 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/1.174, allocations: 64.14 kB / 0.7751 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/1.174, allocations: 20.69 kB / 0.7751 GB, free: 16.27 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.0002274/1.174, allocations: 118.3 kB / 0.7752 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/1.175, allocations: 72.09 kB / 0.7753 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/1.175, allocations: 69.14 kB / 0.7753 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.175, allocations: 2.875 kB / 0.7753 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/1.175, allocations: 4 kB / 0.7753 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.175, allocations: 6.828 kB / 0.7753 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008288/1.176, allocations: 0.5758 MB / 0.7759 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.176, allocations: 3.938 kB / 0.7759 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/1.176, allocations: 103 kB / 0.776 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.176, allocations: 0 / 0.776 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/1.176, allocations: 6.344 kB / 0.776 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.176, allocations: 6.594 kB / 0.776 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.176, allocations: 0 / 0.776 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009568/1.177, allocations: 0.6151 MB / 0.7766 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00128/1.179, allocations: 1.212 MB / 0.7778 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/1.179, allocations: 204.4 kB / 0.778 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/1.179, allocations: 4 kB / 0.778 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/1.18, allocations: 57.52 kB / 0.7781 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/1.18, allocations: 31.12 kB / 0.7781 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/1.18, allocations: 15.91 kB / 0.7781 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004458/1.18, allocations: 365.9 kB / 0.7784 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002051/1.182, allocations: 215.4 kB / 0.7787 GB, free: 14.72 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.0002184/1.182, allocations: 116.4 kB / 0.7788 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001395/1.184, allocations: 0.6517 MB / 0.7794 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.184, allocations: 4.969 kB / 0.7794 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/1.184, allocations: 185.1 kB / 0.7796 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/1.185, allocations: 168.7 kB / 0.7797 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/1.187, allocations: 0.8805 MB / 0.7806 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008291/1.188, allocations: 1.002 MB / 0.7816 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/1.188, allocations: 4 kB / 0.7816 GB, free: 13.22 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)