Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0008861/0.0008861, allocations: 185.2 kB / 361.1 MB, free: 7.094 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007976/0.0007976, allocations: 105 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.1786, allocations: 121.4 MB / 0.8512 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.5926, allocations: 115.3 MB / 0.9638 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.738, allocations: 156.3 MB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.7383, allocations: 96.48 kB / 1.117 GB, free: 15.62 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.02537/0.7637, allocations: 11.77 MB / 1.128 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7637, allocations: 12 kB / 1.128 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.7643, allocations: 75.58 kB / 1.128 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.7645, allocations: 218.8 kB / 1.128 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.7645, allocations: 4 kB / 1.128 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.7646, allocations: 8 kB / 1.128 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002588/0.7648, allocations: 164.2 kB / 1.128 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.7652, allocations: 254.5 kB / 1.129 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.7652, allocations: 7.984 kB / 1.129 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.7652, allocations: 0 / 1.129 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.7652, allocations: 24.08 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.7667, allocations: 1.621 MB / 1.13 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.7668, allocations: 78.16 kB / 1.13 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.7669, allocations: 41.83 kB / 1.13 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.7669, allocations: 0 / 1.13 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.767, allocations: 38.56 kB / 1.13 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.767, allocations: 0 / 1.13 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004113/0.7674, allocations: 182.3 kB / 1.131 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.7674, allocations: 81.2 kB / 1.131 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.7676, allocations: 193.9 kB / 1.131 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.7676, allocations: 25.7 kB / 1.131 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.7677, allocations: 159.4 kB / 1.131 GB, free: 364 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.7677, allocations: 27.64 kB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.7677, allocations: 1.406 kB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.7678, allocations: 326.8 kB / 1.131 GB, free: 0 / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.7679, allocations: 76.02 kB / 1.131 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.7681, allocations: 151.1 kB / 1.132 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.7683, allocations: 117.1 kB / 1.132 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7683, allocations: 4 kB / 1.132 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003947/0.7687, allocations: 257.2 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000381/0.7691, allocations: 1.142 MB / 1.133 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7691, allocations: 4 kB / 1.133 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7691, allocations: 4 kB / 1.133 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.7694, allocations: 51.81 kB / 1.133 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.7694, allocations: 7.938 kB / 1.133 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.7696, allocations: 11.98 kB / 1.133 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.7696, allocations: 19.98 kB / 1.133 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/0.7696, allocations: 0 / 1.133 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003169/0.77, allocations: 200.2 kB / 1.133 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-06/0.77, allocations: 0 / 1.133 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.77, allocations: 8 kB / 1.133 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.7702, allocations: 51.91 kB / 1.133 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7702, allocations: 9.5 kB / 1.133 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.7703, allocations: 11.89 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.7704, allocations: 8.375 kB / 1.133 GB, free: 13.76 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.726e-05/0.7704, allocations: 115.3 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.7705, allocations: 15.81 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.7707, allocations: 118.7 kB / 1.134 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7707, allocations: 0 / 1.134 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7707, allocations: 4 kB / 1.134 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7707, allocations: 0 / 1.134 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.7713, allocations: 0.578 MB / 1.134 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7713, allocations: 4 kB / 1.134 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.7714, allocations: 15.22 kB / 1.134 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7714, allocations: 4 kB / 1.134 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7714, allocations: 4.156 kB / 1.134 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7714, allocations: 8 kB / 1.134 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7715, allocations: 11.92 kB / 1.134 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002367/0.7717, allocations: 326.5 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000346/0.772, allocations: 0.7164 MB / 1.135 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.7721, allocations: 104.9 kB / 1.135 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.7722, allocations: 4 kB / 1.135 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7723, allocations: 11.98 kB / 1.135 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.7724, allocations: 11.84 kB / 1.135 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.7724, allocations: 5.312 kB / 1.135 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001158/0.7725, allocations: 151.2 kB / 1.136 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001532/0.774, allocations: 87.92 kB / 1.136 GB, free: 11.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001606/0.7742, allocations: 118.9 kB / 1.136 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.7746, allocations: 259.7 kB / 1.136 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7746, allocations: 0 / 1.136 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.7747, allocations: 51.38 kB / 1.136 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7749, allocations: 25.33 kB / 1.136 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.7755, allocations: 271.6 kB / 1.136 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.7759, allocations: 0.76 MB / 1.137 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.7759, allocations: 4 kB / 1.137 GB, free: 9.684 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)