Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7783/0.7783, allocations: 127.4 MB / 134.6 MB, free: 8.168 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 181.2 kB / 164.4 MB, free: 11.49 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 399.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009219, allocations: 87.62 kB / 476.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3704/0.3713, allocations: 82.86 MB / 0.546 GB, free: 64.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.5528, allocations: 76.76 MB / 0.621 GB, free: 3.871 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6023/1.155, allocations: 110.9 MB / 0.7293 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.155, allocations: 78.7 kB / 0.7294 GB, free: 8.488 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.06511/1.221, allocations: 21.45 MB / 0.7503 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.221, allocations: 8 kB / 0.7504 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/1.221, allocations: 126.4 kB / 0.7505 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.224, allocations: 0.7502 MB / 0.7512 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.224, allocations: 63.69 kB / 0.7513 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/1.224, allocations: 51.84 kB / 0.7513 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/1.225, allocations: 452.9 kB / 0.7517 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/1.227, allocations: 0.6429 MB / 0.7524 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.227, allocations: 0 / 0.7524 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/1.227, allocations: 4 kB / 0.7524 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/1.227, allocations: 16 kB / 0.7524 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/1.231, allocations: 2.23 MB / 0.7546 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/1.233, allocations: 0.5419 MB / 0.7551 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/1.233, allocations: 212.3 kB / 0.7553 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.015e-05/1.233, allocations: 12.48 kB / 0.7553 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004776/1.233, allocations: 279.5 kB / 0.7556 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.527e-06/1.234, allocations: 0 / 0.7556 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001062/1.235, allocations: 498.8 kB / 0.7561 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/1.235, allocations: 140.2 kB / 0.7562 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009613/1.236, allocations: 0.5592 MB / 0.7567 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/1.236, allocations: 32.77 kB / 0.7568 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/1.236, allocations: 298.6 kB / 0.7571 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/1.237, allocations: 198.1 kB / 0.7572 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/1.237, allocations: 0 / 0.7572 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002445/1.237, allocations: 328.3 kB / 0.7576 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/1.238, allocations: 172.7 kB / 0.7577 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/1.239, allocations: 292.5 kB / 0.758 GB, free: 268 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/1.239, allocations: 199.2 kB / 0.7582 GB, free: 152 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.239, allocations: 0 / 0.7582 GB, free: 152 kB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001964/1.241, allocations: 0.5617 MB / 0.7587 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006882/1.242, allocations: 0.881 MB / 0.7596 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.242, allocations: 0 / 0.7596 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.437e-05/1.242, allocations: 12 kB / 0.7596 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.244, allocations: 163.3 kB / 0.7598 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/1.244, allocations: 11.94 kB / 0.7598 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.246, allocations: 70.75 kB / 0.7598 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.246, allocations: 23.19 kB / 0.7599 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.246, allocations: 7.906 kB / 0.7599 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/1.247, allocations: 436.2 kB / 0.7603 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.247, allocations: 4 kB / 0.7603 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.247, allocations: 4 kB / 0.7603 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.249, allocations: 143.7 kB / 0.7604 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.249, allocations: 8 kB / 0.7604 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.25, allocations: 43.58 kB / 0.7605 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/1.25, allocations: 23 kB / 0.7605 GB, free: 14.02 MB / 0.5137 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.0003156/1.251, allocations: 126.7 kB / 0.7606 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/1.251, allocations: 86.88 kB / 0.7607 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/1.251, allocations: 94.41 kB / 0.7608 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.252, allocations: 8 kB / 0.7608 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.252, allocations: 0 / 0.7608 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.252, allocations: 0 / 0.7608 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/1.255, allocations: 1.33 MB / 0.7621 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.255, allocations: 0 / 0.7621 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.257, allocations: 111.4 kB / 0.7622 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/1.257, allocations: 4 kB / 0.7622 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/1.257, allocations: 4 kB / 0.7622 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/1.257, allocations: 8 kB / 0.7622 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.257, allocations: 0 / 0.7622 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002654/1.26, allocations: 0.8718 MB / 0.7631 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003474/1.263, allocations: 1.52 MB / 0.7646 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000776/1.264, allocations: 232.6 kB / 0.7648 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/1.264, allocations: 4 kB / 0.7648 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.266, allocations: 43.95 kB / 0.7648 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.266, allocations: 31.7 kB / 0.7649 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.266, allocations: 22.11 kB / 0.7649 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 0.001467/1.267, allocations: 439.5 kB / 0.7653 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004042/1.271, allocations: 272.5 kB / 0.7656 GB, free: 9.988 MB / 0.5137 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.0003615/1.272, allocations: 114.9 kB / 0.7657 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002102/1.274, allocations: 0.7426 MB / 0.7664 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.274, allocations: 0 / 0.7664 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006241/1.275, allocations: 249.7 kB / 0.7666 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.277, allocations: 222.7 kB / 0.7668 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/1.281, allocations: 1.183 MB / 0.768 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.282, allocations: 1.103 MB / 0.7691 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/1.282, allocations: 0 / 0.7691 GB, free: 6.836 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)