Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.145/2.145, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001631/0.001631, allocations: 185.2 kB / 360.3 MB, free: 7.492 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.672/1.672, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001225/0.001225, allocations: 93.56 kB / 0.7317 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.252/0.2533, allocations: 121.4 MB / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5656/0.8189, allocations: 115.2 MB / 0.9628 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/1.025, allocations: 137.4 MB / 1.097 GB, free: 3.426 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.025, allocations: 67.95 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.09411/1.119, allocations: 18.05 MB / 1.115 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.119, allocations: 8.5 kB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/1.119, allocations: 71.61 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/1.12, allocations: 211.2 kB / 1.115 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/1.12, allocations: 11.98 kB / 1.115 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/1.12, allocations: 63.98 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001717/1.12, allocations: 32 kB / 1.115 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/1.121, allocations: 206.3 kB / 1.115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.121, allocations: 0 / 1.115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/1.121, allocations: 11.98 kB / 1.115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/1.121, allocations: 5.25 kB / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/1.122, allocations: 0.8137 MB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/1.123, allocations: 303.3 kB / 1.116 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/1.123, allocations: 124.9 kB / 1.116 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/1.123, allocations: 7.984 kB / 1.116 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006307/1.124, allocations: 347.8 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/1.124, allocations: 4 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001167/1.125, allocations: 353.5 kB / 1.117 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002703/1.125, allocations: 443.2 kB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/1.125, allocations: 247.3 kB / 1.118 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002282/1.126, allocations: 57.69 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/1.126, allocations: 133.3 kB / 1.118 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.126, allocations: 90.91 kB / 1.118 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.126, allocations: 28 kB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.126, allocations: 354.8 kB / 1.118 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.128, allocations: 361.2 kB / 1.119 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.13, allocations: 0.638 MB / 1.119 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/1.133, allocations: 0.5267 MB / 1.12 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.133, allocations: 3.906 kB / 1.12 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006621/1.14, allocations: 1.254 MB / 1.121 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.14, allocations: 8 kB / 1.121 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/1.14, allocations: 13.39 kB / 1.121 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/1.14, allocations: 17.06 kB / 1.121 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/1.14, allocations: 27.86 kB / 1.121 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/1.14, allocations: 26.55 kB / 1.121 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.145, allocations: 0.589 MB / 1.122 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/1.145, allocations: 93.42 kB / 1.122 GB, free: 9.16 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004319/1.146, allocations: 184.4 kB / 1.122 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.146, allocations: 47.45 kB / 1.122 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/1.146, allocations: 38.23 kB / 1.122 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.146, allocations: 8 kB / 1.122 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.146, allocations: 4 kB / 1.122 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.146, allocations: 4 kB / 1.122 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/1.147, allocations: 289.9 kB / 1.122 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.147, allocations: 0 / 1.122 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/1.147, allocations: 19.92 kB / 1.122 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/1.147, allocations: 8 kB / 1.122 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.147, allocations: 15.98 kB / 1.122 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/1.147, allocations: 11.92 kB / 1.122 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.147, allocations: 5.125 kB / 1.122 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009996/1.148, allocations: 0.575 MB / 1.123 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001155/1.149, allocations: 0.9636 MB / 1.124 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.149, allocations: 108.6 kB / 1.124 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/1.149, allocations: 7.984 kB / 1.124 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.149, allocations: 15.98 kB / 1.124 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.15, allocations: 59.78 kB / 1.124 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/1.15, allocations: 27.98 kB / 1.124 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002248/1.15, allocations: 175.1 kB / 1.124 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001976/1.152, allocations: 172 kB / 1.124 GB, free: 6.082 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002433/1.152, allocations: 130.2 kB / 1.125 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00262/1.155, allocations: 1.093 MB / 1.126 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.155, allocations: 0 / 1.126 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/1.155, allocations: 165.1 kB / 1.126 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.156, allocations: 106.1 kB / 1.126 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.158, allocations: 485.8 kB / 1.126 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/1.158, allocations: 0.8225 MB / 1.127 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of SimCode: time 9.51e-07/1.158, allocations: 0 / 1.127 GB, free: 3.125 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)