Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Continuous.Validation.Product,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.179/2.179, 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.001605/0.001605, allocations: 185.2 kB / 360.3 MB, free: 7.508 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.648/1.648, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001226/0.001225, allocations: 87.92 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2435/0.2448, allocations: 121.4 MB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.7859, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.9847, allocations: 136.5 MB / 1.096 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.985, allocations: 69.23 kB / 1.096 GB, free: 4.227 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003874/0.9889, allocations: 0.8778 MB / 1.097 GB, free: 3.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9889, allocations: 12.84 kB / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.989, allocations: 3.906 kB / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.9891, allocations: 172.5 kB / 1.097 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.9891, allocations: 2.531 kB / 1.097 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.9892, allocations: 4 kB / 1.097 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001394/0.9893, allocations: 16 kB / 1.097 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.9894, allocations: 42.44 kB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.9895, allocations: 0 / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.9895, allocations: 0.5938 kB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.9895, allocations: 4.844 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.9902, allocations: 287.5 kB / 1.098 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.082e-05/0.9903, allocations: 37.44 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.9904, allocations: 13.58 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.9904, allocations: 0 / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.9904, allocations: 34.56 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.9904, allocations: 0.5625 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002013/0.9907, allocations: 57.69 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.9907, allocations: 51.41 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.9908, allocations: 106.3 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.9908, allocations: 25.7 kB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.9909, allocations: 80.14 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.9909, allocations: 15.81 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.9909, allocations: 0 / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9911, allocations: 314.8 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.9911, allocations: 15.92 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.9912, allocations: 8.516 kB / 1.098 GB, free: 1.941 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.9912, allocations: 4 kB / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9912, allocations: 0 / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001808/0.9914, allocations: 54.17 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9914, allocations: 8.922 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9915, allocations: 0 / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9915, allocations: 4 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.9917, allocations: 25.42 kB / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9917, allocations: 0 / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.9919, allocations: 23.98 kB / 1.098 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.992, allocations: 0 / 1.098 GB, free: 1.82 MB / 0.698 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.778e-05/0.992, allocations: 104.8 kB / 1.098 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.9921, allocations: 9.406 kB / 1.098 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.9921, allocations: 11.98 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9921, allocations: 0 / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9922, allocations: 4.75 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9922, allocations: 3.938 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.9924, allocations: 146.1 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9924, allocations: 0 / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.9926, allocations: 19.98 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9926, allocations: 4 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.9926, allocations: 6 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9926, allocations: 0 / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9927, allocations: 5.391 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/0.9928, allocations: 143.1 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003002/0.9931, allocations: 0.5238 MB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.9932, allocations: 89 kB / 1.099 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.9933, allocations: 0 / 1.099 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.9935, allocations: 15.98 kB / 1.099 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.9935, allocations: 8 kB / 1.099 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.9936, allocations: 0 / 1.099 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.816e-05/0.9936, allocations: 87.27 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001087/0.9947, allocations: 11.94 kB / 1.1 GB, free: 0.5469 MB / 0.698 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.0001465/0.9949, allocations: 95.25 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.995, allocations: 20.61 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.995, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.685e-05/0.9951, allocations: 12 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.9954, allocations: 21.42 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.9957, allocations: 75.19 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.9961, allocations: 0.6993 MB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/0.9961, allocations: 0 / 1.1 GB, free: 15.58 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)