Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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/Buildings 8.0.0/package.mo): time 2.117/2.117, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 177.3 kB / 360.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 90.39 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2499/0.2511, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.8121, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/1.019, allocations: 137.4 MB / 1.097 GB, free: 3.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.019, allocations: 74.45 kB / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01034/1.029, allocations: 2.18 MB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.029, allocations: 8.5 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/1.029, allocations: 9.094 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.03, allocations: 171 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.03, allocations: 4 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/1.03, allocations: 8.422 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/1.03, allocations: 20 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/1.03, allocations: 41.69 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.03, allocations: 1.312 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/1.03, allocations: 4.5 kB / 1.099 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.03, allocations: 8 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/1.031, allocations: 311.8 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/1.031, allocations: 39.2 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/1.031, allocations: 16.98 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.031, allocations: 8 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/1.031, allocations: 65.88 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 5.47e-06/1.031, allocations: 0.75 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002538/1.031, allocations: 81.47 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.031, allocations: 55.41 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.031, allocations: 109.9 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/1.031, allocations: 29.7 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/1.031, allocations: 88.14 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/1.032, allocations: 24.52 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/1.032, allocations: 0 / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.032, allocations: 318.8 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.032, allocations: 35.98 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/1.032, allocations: 60.3 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/1.032, allocations: 52.81 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.032, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006078/1.033, allocations: 153.2 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.033, allocations: 8.125 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.033, allocations: 6.422 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.033, allocations: 3.906 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/1.033, allocations: 15.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/1.033, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/1.034, allocations: 43.97 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/1.034, allocations: 19.98 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001213/1.034, allocations: 117.3 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/1.034, allocations: 3.906 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/1.034, allocations: 12.89 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.034, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.034, allocations: 3.906 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/1.034, allocations: 3.984 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/1.034, allocations: 311.1 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.035, allocations: 1.5 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/1.035, allocations: 17.77 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.035, allocations: 0 / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/1.035, allocations: 4 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.035, allocations: 3.938 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.035, allocations: 3.984 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002178/1.035, allocations: 167.5 kB / 1.101 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003565/1.035, allocations: 0.5427 MB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/1.035, allocations: 85.02 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.035, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.036, allocations: 15.98 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/1.036, allocations: 7.906 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/1.036, allocations: 7.984 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.803e-05/1.036, allocations: 90.78 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00119/1.037, allocations: 20 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002157/1.037, allocations: 111.2 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003429/1.038, allocations: 112 kB / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.038, allocations: 0 / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/1.038, allocations: 27.94 kB / 1.102 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/1.038, allocations: 4 kB / 1.102 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/1.038, allocations: 100.2 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/1.039, allocations: 0.7134 MB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/1.039, allocations: 0 / 1.103 GB, free: 12.62 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)