Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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 7.0.1/package.mo): time 2.325/2.325, allocations: 248.6 MB / 255.9 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00173/0.00173, allocations: 183.9 kB / 315.1 MB, free: 4.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 0.5658 GB, free: 240 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002045/0.002045, allocations: 99.25 kB / 0.67 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4946/0.4968, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.7243, allocations: 106.3 MB / 0.8835 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7226/1.447, allocations: 131.9 MB / 1.012 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/1.447, allocations: 67.47 kB / 1.012 GB, free: 8.156 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01989/1.467, allocations: 2.311 MB / 1.015 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/1.467, allocations: 8 kB / 1.015 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/1.468, allocations: 23.19 kB / 1.015 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/1.468, allocations: 213.4 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/1.468, allocations: 4 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/1.468, allocations: 4 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004095/1.469, allocations: 61.67 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/1.469, allocations: 140.2 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.469, allocations: 4 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/1.469, allocations: 7.938 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.469, allocations: 0.5 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/1.472, allocations: 0.7811 MB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/1.472, allocations: 127.9 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/1.473, allocations: 65.91 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/1.473, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/1.473, allocations: 135.4 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.727e-06/1.473, allocations: 4 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000637/1.474, allocations: 103.3 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.474, allocations: 162.1 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/1.474, allocations: 150.9 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/1.474, allocations: 33.33 kB / 1.017 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.475, allocations: 103.2 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/1.475, allocations: 30.3 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/1.475, allocations: 4 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.475, allocations: 329.2 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/1.475, allocations: 47.2 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.475, allocations: 65.98 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.476, allocations: 43.36 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.476, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006849/1.476, allocations: 145 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.476, allocations: 4 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.476, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.476, allocations: 4 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.478, allocations: 79.91 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.478, allocations: 7.938 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009627/1.479, allocations: 59.84 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/1.479, allocations: 7.25 kB / 1.017 GB, free: 3.102 MB / 0.6355 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 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002215/1.479, allocations: 112.9 kB / 1.018 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/1.479, allocations: 15.91 kB / 1.018 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.479, allocations: 24.19 kB / 1.018 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.479, allocations: 4 kB / 1.018 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.479, allocations: 0 / 1.018 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.479, allocations: 4 kB / 1.018 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/1.48, allocations: 201.2 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.48, allocations: 0 / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007954/1.481, allocations: 59.95 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/1.481, allocations: 4 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/1.481, allocations: 3.984 kB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/1.481, allocations: 4 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.481, allocations: 3.938 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006392/1.481, allocations: 207.9 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008115/1.482, allocations: 0.5793 MB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.482, allocations: 92.92 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/1.482, allocations: 0 / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/1.483, allocations: 59.94 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/1.484, allocations: 27.02 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/1.484, allocations: 11.62 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001992/1.484, allocations: 117.1 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002002/1.486, allocations: 39.89 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002746/1.486, allocations: 95.25 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006057/1.487, allocations: 109.8 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.487, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/1.487, allocations: 69.11 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/1.488, allocations: 24.05 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.489, allocations: 203.7 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/1.49, allocations: 0.7496 MB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of SimCode: time 2.715e-06/1.49, allocations: 0 / 1.02 GB, free: 248 kB / 0.6355 GB