Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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/BuildSysPro 3.5.0/package.mo): time 0.8095/0.8095, allocations: 127.4 MB / 134.6 MB, free: 4.059 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 181.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.1 MB / 399.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 89.83 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3429/0.3439, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.5293, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5625/1.092, allocations: 103.7 MB / 0.7223 GB, free: 8.555 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.092, allocations: 71.95 kB / 0.7224 GB, free: 8.484 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01793/1.11, allocations: 5.448 MB / 0.7277 GB, free: 2.996 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.11, allocations: 8 kB / 0.7277 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/1.111, allocations: 135.7 kB / 0.7278 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/1.111, allocations: 186.8 kB / 0.728 GB, free: 2.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.111, allocations: 67.39 kB / 0.7281 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/1.111, allocations: 4 kB / 0.7281 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001779/1.112, allocations: 71.98 kB / 0.7281 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.112, allocations: 101.5 kB / 0.7282 GB, free: 2.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.112, allocations: 0 / 0.7282 GB, free: 2.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/1.112, allocations: 11.98 kB / 0.7282 GB, free: 2.359 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.112, allocations: 0 / 0.7282 GB, free: 2.359 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/1.113, allocations: 478.8 kB / 0.7287 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/1.113, allocations: 90.5 kB / 0.7288 GB, free: 1.758 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/1.114, allocations: 32.98 kB / 0.7288 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/1.114, allocations: 11.98 kB / 0.7288 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/1.114, allocations: 30.56 kB / 0.7288 GB, free: 1.672 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/1.114, allocations: 0 / 0.7288 GB, free: 1.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002884/1.114, allocations: 101.6 kB / 0.7289 GB, free: 1.566 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.114, allocations: 59.39 kB / 0.729 GB, free: 1.496 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/1.114, allocations: 124.1 kB / 0.7291 GB, free: 1.371 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/1.114, allocations: 25.7 kB / 0.7291 GB, free: 1.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/1.114, allocations: 104.1 kB / 0.7292 GB, free: 1.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/1.114, allocations: 19.66 kB / 0.7293 GB, free: 1.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/1.114, allocations: 3.938 kB / 0.7293 GB, free: 1.207 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/1.114, allocations: 318.8 kB / 0.7296 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/1.114, allocations: 39.94 kB / 0.7296 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/1.115, allocations: 58.5 kB / 0.7297 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/1.115, allocations: 27.98 kB / 0.7297 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.115, allocations: 0 / 0.7297 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/1.115, allocations: 117.5 kB / 0.7298 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.115, allocations: 4 kB / 0.7298 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.115, allocations: 0 / 0.7298 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.115, allocations: 4 kB / 0.7298 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/1.115, allocations: 48.02 kB / 0.7299 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.115, allocations: 0 / 0.7299 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/1.115, allocations: 39.88 kB / 0.7299 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/1.115, allocations: 11.98 kB / 0.7299 GB, free: 0.5273 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.933e-05/1.116, allocations: 101.7 kB / 0.73 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/1.116, allocations: 7.906 kB / 0.73 GB, free: 424 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/1.116, allocations: 122 kB / 0.7301 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.116, allocations: 8 kB / 0.7301 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.116, allocations: 0 / 0.7301 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.116, allocations: 0 / 0.7301 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/1.116, allocations: 214.9 kB / 0.7303 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.116, allocations: 0 / 0.7303 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/1.116, allocations: 47.92 kB / 0.7304 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.116, allocations: 4 kB / 0.7304 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.116, allocations: 0 / 0.7304 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.116, allocations: 0 / 0.7304 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.116, allocations: 0 / 0.7304 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002274/1.117, allocations: 207.5 kB / 0.7306 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003977/1.117, allocations: 0.574 MB / 0.7311 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/1.117, allocations: 85.02 kB / 0.7312 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.117, allocations: 0 / 0.7312 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/1.118, allocations: 47.95 kB / 0.7313 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/1.118, allocations: 11.98 kB / 0.7313 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/1.118, allocations: 4 kB / 0.7313 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.605e-05/1.118, allocations: 106.3 kB / 0.7314 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008137/1.119, allocations: 23.91 kB / 0.7314 GB, free: 14.89 MB / 0.4948 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 (6): * Single equations (assignments): 6 * 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.0002085/1.119, allocations: 95.25 kB / 0.7315 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001957/1.119, allocations: 79.92 kB / 0.7316 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.119, allocations: 0 / 0.7316 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/1.119, allocations: 43.98 kB / 0.7316 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/1.119, allocations: 12.06 kB / 0.7316 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/1.12, allocations: 147.5 kB / 0.7318 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/1.12, allocations: 0.7278 MB / 0.7325 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/1.12, allocations: 0 / 0.7325 GB, free: 13.73 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)