Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.143/2.143, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001512/0.001511, allocations: 181.3 kB / 360.3 MB, free: 7.555 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.688/1.688, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001206/0.001206, allocations: 86.81 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2455/0.2468, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.7972, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/1.001, allocations: 137.1 MB / 1.097 GB, free: 3.645 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.001, allocations: 68.52 kB / 1.097 GB, free: 3.578 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.02136/1.023, allocations: 4.207 MB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.023, allocations: 12.5 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.271e-05/1.023, allocations: 11.91 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.023, allocations: 171.6 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.023, allocations: 4 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/1.023, allocations: 15.98 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.532e-05/1.023, allocations: 16 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/1.023, allocations: 45.69 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.024, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.024, allocations: 0.5625 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.024, allocations: 7.984 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/1.024, allocations: 397.1 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/1.024, allocations: 30.58 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/1.025, allocations: 16.86 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/1.025, allocations: 4.938 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/1.025, allocations: 84.55 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/1.025, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000272/1.025, allocations: 89.58 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.025, allocations: 51.41 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.025, allocations: 124.8 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/1.025, allocations: 29.7 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/1.025, allocations: 100.8 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/1.025, allocations: 23.75 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/1.025, allocations: 4 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.026, allocations: 322.8 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/1.026, allocations: 75.98 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/1.026, allocations: 123.1 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/1.027, allocations: 106.9 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.027, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001198/1.028, allocations: 287 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.028, allocations: 4 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.028, allocations: 2.734 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.028, allocations: 4 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.147e-05/1.028, allocations: 11.92 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.028, allocations: 192 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/1.029, allocations: 115.9 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/1.029, allocations: 23.98 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001182/1.029, allocations: 117.5 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/1.029, allocations: 7.906 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/1.029, allocations: 16.36 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.029, allocations: 0.6562 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.029, allocations: 0 / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.029, allocations: 4 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/1.03, allocations: 166.1 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.03, allocations: 7.906 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/1.03, allocations: 4 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.03, allocations: 0 / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.03, allocations: 3.984 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.03, allocations: 1.75 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.03, allocations: 0 / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002017/1.03, allocations: 113 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003553/1.03, allocations: 0.4934 MB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/1.03, allocations: 85.02 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/1.03, allocations: 1.594 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/1.03, allocations: 3.984 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/1.03, allocations: 11.98 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/1.03, allocations: 4 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.779e-05/1.031, allocations: 94.38 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00118/1.032, allocations: 55.83 kB / 1.104 GB, free: 11.68 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001886/1.032, allocations: 107.2 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006224/1.033, allocations: 237 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.033, allocations: 0 / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/1.033, allocations: 35.98 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/1.033, allocations: 24.55 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/1.033, allocations: 116.2 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/1.034, allocations: 0.7114 MB / 1.105 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/1.034, allocations: 0 / 1.105 GB, free: 10.38 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)