Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [: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.8156/0.8156, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001162/0.001162, allocations: 177.3 kB / 164.4 MB, free: 6.887 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.636/1.636, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001133/0.001133, allocations: 97 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.243e-05/1.245e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5976/0.7967, allocations: 106.4 MB / 0.7248 GB, free: 5.973 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/0.7972, allocations: 95.94 kB / 0.7249 GB, free: 5.879 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.0211/0.8183, allocations: 6.687 MB / 0.7315 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.523e-05/0.8184, allocations: 11.94 kB / 0.7315 GB, free: 15.18 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001372/0.8198, allocations: 0.7384 MB / 0.7322 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.8198, allocations: 8.031 kB / 0.7322 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.82, allocations: 39.52 kB / 0.7322 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.8207, allocations: 315 kB / 0.7325 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.8207, allocations: 4 kB / 0.7325 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.8208, allocations: 16 kB / 0.7326 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004237/0.8212, allocations: 196.2 kB / 0.7327 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.8217, allocations: 234.7 kB / 0.733 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8217, allocations: 0 / 0.733 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.8217, allocations: 0 / 0.733 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.8218, allocations: 4 kB / 0.733 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.8233, allocations: 0.7155 MB / 0.7337 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.8237, allocations: 198.7 kB / 0.7339 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.824, allocations: 156.7 kB / 0.734 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.824, allocations: 3.938 kB / 0.734 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.8241, allocations: 34.56 kB / 0.734 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.8241, allocations: 0 / 0.734 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0007082/0.8248, allocations: 341.3 kB / 0.7344 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.8249, allocations: 136.5 kB / 0.7345 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.8253, allocations: 311.4 kB / 0.7348 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.8253, allocations: 29.7 kB / 0.7348 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.8254, allocations: 136.3 kB / 0.735 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.8255, allocations: 31.47 kB / 0.735 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.8255, allocations: 4 kB / 0.735 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8257, allocations: 346.7 kB / 0.7353 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.826, allocations: 199.9 kB / 0.7355 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.8263, allocations: 195.9 kB / 0.7357 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.8267, allocations: 204 kB / 0.7359 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8267, allocations: 0 / 0.7359 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007554/0.8274, allocations: 485.1 kB / 0.7364 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.8275, allocations: 11.94 kB / 0.7364 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8275, allocations: 0 / 0.7364 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.8275, allocations: 7.906 kB / 0.7364 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.8277, allocations: 39.97 kB / 0.7364 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.8277, allocations: 8.484 kB / 0.7364 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.828, allocations: 51.81 kB / 0.7365 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.8281, allocations: 8 kB / 0.7365 GB, free: 9.793 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0001897/0.8283, allocations: 202 kB / 0.7367 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.8283, allocations: 35.62 kB / 0.7367 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.8284, allocations: 25.95 kB / 0.7367 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8284, allocations: 0 / 0.7367 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.8284, allocations: 0 / 0.7367 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8285, allocations: 4 kB / 0.7367 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.8289, allocations: 313.8 kB / 0.737 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8289, allocations: 0 / 0.737 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.8291, allocations: 39.97 kB / 0.7371 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8291, allocations: 0 / 0.7371 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.8291, allocations: 4 kB / 0.7371 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8291, allocations: 0 / 0.7371 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8291, allocations: 3.906 kB / 0.7371 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006339/0.8298, allocations: 467.8 kB / 0.7375 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.8299, allocations: 112.7 kB / 0.7376 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.83, allocations: 4 kB / 0.7376 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.8302, allocations: 43.91 kB / 0.7377 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.8304, allocations: 27.95 kB / 0.7377 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.8304, allocations: 12 kB / 0.7377 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002788/0.8307, allocations: 235.1 kB / 0.7379 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006055/0.8313, allocations: 123.8 kB / 0.7381 GB, free: 8.074 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0007259/0.832, allocations: 271.7 kB / 0.7383 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.8328, allocations: 0.5357 MB / 0.7388 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8328, allocations: 0 / 0.7388 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.8331, allocations: 261.7 kB / 0.7391 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.8335, allocations: 63.91 kB / 0.7391 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.8347, allocations: 495.8 kB / 0.7396 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.8354, allocations: 0.8173 MB / 0.7404 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of SimCode: time 3.757e-06/0.8354, allocations: 0 / 0.7404 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.0128/0.8482, allocations: 5.368 MB / 0.7457 GB, free: 248 kB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)