Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 186.8 kB / 7.804 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4571/0.4571, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.4 MB / 342.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009785, allocations: 87 kB / 415.5 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1818/0.1828, allocations: 78.46 MB / 494 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.5757, allocations: 72.3 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.7106, allocations: 109 MB / 0.6595 GB, free: 15.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.7108, allocations: 76.67 kB / 0.6596 GB, free: 15.5 MB / 490.7 MB 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.05736/0.7682, allocations: 20.51 MB / 0.6796 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.7683, allocations: 8 kB / 0.6796 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.7686, allocations: 122.5 kB / 0.6797 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.77, allocations: 0.7346 MB / 0.6804 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.7702, allocations: 59.69 kB / 0.6805 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.7703, allocations: 40 kB / 0.6805 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008952/0.7712, allocations: 448 kB / 0.6809 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.7723, allocations: 0.6299 MB / 0.6816 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.7723, allocations: 0 / 0.6816 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/0.7724, allocations: 0 / 0.6816 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.7724, allocations: 16 kB / 0.6816 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.7764, allocations: 2.21 MB / 0.6837 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.7777, allocations: 0.5323 MB / 0.6843 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.778, allocations: 202.4 kB / 0.6844 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.7781, allocations: 8.5 kB / 0.6845 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.7786, allocations: 282.5 kB / 0.6847 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 2.584e-06/0.7786, allocations: 0 / 0.6847 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60): time 0.001031/0.7796, allocations: 491.9 kB / 0.6852 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.7797, allocations: 141 kB / 0.6853 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/0.7805, allocations: 0.5474 MB / 0.6859 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.7806, allocations: 33.69 kB / 0.6859 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.7808, allocations: 296.1 kB / 0.6862 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.781, allocations: 197 kB / 0.6864 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.781, allocations: 4 kB / 0.6864 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7812, allocations: 329.9 kB / 0.6867 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.7815, allocations: 169.3 kB / 0.6868 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.7819, allocations: 290.7 kB / 0.6871 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.7823, allocations: 200 kB / 0.6873 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7823, allocations: 0 / 0.6873 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009439/0.7832, allocations: 0.5576 MB / 0.6879 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.7836, allocations: 0.8793 MB / 0.6887 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7836, allocations: 4 kB / 0.6887 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.7836, allocations: 4 kB / 0.6887 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009297/0.7846, allocations: 163.8 kB / 0.6889 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.7846, allocations: 11.94 kB / 0.6889 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.7852, allocations: 67.5 kB / 0.689 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.7852, allocations: 29.3 kB / 0.689 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.7852, allocations: 4 kB / 0.689 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008677/0.7861, allocations: 442.1 kB / 0.6894 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7861, allocations: 8 kB / 0.6894 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.7861, allocations: 4 kB / 0.6894 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.787, allocations: 156 kB / 0.6896 GB, free: 356 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.787, allocations: 10.58 kB / 0.6896 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.7876, allocations: 55.56 kB / 0.6896 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.7877, allocations: 20 kB / 0.6897 GB, free: 272 kB / 0.4948 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.0002234/0.7879, allocations: 124.9 kB / 0.6898 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.7881, allocations: 90.88 kB / 0.6899 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.7884, allocations: 96.62 kB / 0.6899 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.7885, allocations: 4 kB / 0.69 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.7885, allocations: 3.906 kB / 0.69 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.7885, allocations: 4.828 kB / 0.69 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.7908, allocations: 1.315 MB / 0.6912 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7908, allocations: 4 kB / 0.6913 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/0.7915, allocations: 111.9 kB / 0.6914 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.7915, allocations: 0 / 0.6914 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/0.7916, allocations: 7.984 kB / 0.6914 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.7916, allocations: 4 kB / 0.6914 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.7916, allocations: 4 kB / 0.6914 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001408/0.793, allocations: 0.8751 MB / 0.6922 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002091/0.7951, allocations: 1.513 MB / 0.6937 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.7955, allocations: 223.9 kB / 0.6939 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.7956, allocations: 7.906 kB / 0.6939 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.7962, allocations: 51.95 kB / 0.694 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7964, allocations: 32.44 kB / 0.694 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.7964, allocations: 16 kB / 0.694 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006108/0.797, allocations: 435.1 kB / 0.6944 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002176/0.7992, allocations: 266.8 kB / 0.6947 GB, free: 10.99 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.0002253/0.7994, allocations: 122.4 kB / 0.6948 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.8011, allocations: 0.7505 MB / 0.6955 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8011, allocations: 0 / 0.6955 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.8015, allocations: 241.8 kB / 0.6958 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.8026, allocations: 205.4 kB / 0.696 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.8055, allocations: 1.165 MB / 0.6971 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008818/0.8064, allocations: 1.092 MB / 0.6982 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.8064, allocations: 0 / 0.6982 GB, free: 7.363 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)