Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001099/0.001099, allocations: 177.3 kB / 366.3 MB, free: 1.992 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0008537/0.0008538, allocations: 92.75 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2041/0.205, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.6694, allocations: 116.3 MB / 0.9727 GB, free: 76.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.8122, allocations: 137.7 MB / 1.107 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.8124, allocations: 76.45 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002385/0.8148, allocations: 0.8732 MB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8148, allocations: 8.781 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.8149, allocations: 7.906 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.815, allocations: 163.7 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.815, allocations: 5.625 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.8151, allocations: 4.953 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.958e-05/0.8152, allocations: 16 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.643e-05/0.8152, allocations: 42.45 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8153, allocations: 0.6562 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.8153, allocations: 4.531 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.8153, allocations: 0.5938 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.8158, allocations: 294.2 kB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.936e-05/0.8159, allocations: 34.56 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.816, allocations: 13.38 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.816, allocations: 0 / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.816, allocations: 36.75 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 3.226e-06/0.816, allocations: 0 / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002014/0.8162, allocations: 54.11 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.8163, allocations: 59.48 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.8163, allocations: 97 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.8164, allocations: 25.7 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.8164, allocations: 80.14 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.8164, allocations: 15.8 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.8164, allocations: 0 / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8166, allocations: 316.1 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.8166, allocations: 8 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.8166, allocations: 12 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.8166, allocations: 4.562 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8167, allocations: 0 / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.798e-05/0.8168, allocations: 61.53 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8168, allocations: 4 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8168, allocations: 0 / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8168, allocations: 0.6094 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.817, allocations: 29.05 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.817, allocations: 0 / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.484e-05/0.8171, allocations: 23.91 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.8171, allocations: 4 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.128e-05/0.8172, allocations: 102.2 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.8172, allocations: 7.906 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.8173, allocations: 8 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8173, allocations: 1.078 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8173, allocations: 0 / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.8173, allocations: 4 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.8174, allocations: 143.4 kB / 1.11 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8174, allocations: 0 / 1.11 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.8176, allocations: 27.97 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8176, allocations: 4 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.8176, allocations: 0 / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.8176, allocations: 0 / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8176, allocations: 0 / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001444/0.8178, allocations: 156.4 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002461/0.818, allocations: 0.5162 MB / 1.11 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.8181, allocations: 82.89 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8181, allocations: 0 / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.8182, allocations: 19.98 kB / 1.11 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.8183, allocations: 7.984 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.8183, allocations: 0.5156 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.854e-05/0.8183, allocations: 84.92 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007399/0.8191, allocations: 11.94 kB / 1.111 GB, free: 9.031 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001272/0.8192, allocations: 107.2 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.916e-05/0.8193, allocations: 23.94 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8193, allocations: 0.6562 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.8193, allocations: 12 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.8195, allocations: 8.75 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.8198, allocations: 70.36 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.82, allocations: 0.6993 MB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of SimCode: time 1.462e-06/0.82, allocations: 3.938 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)