Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.147/2.147, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001601/0.001601, allocations: 193.2 kB / 360.3 MB, free: 7.477 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.625/1.625, 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.001263/0.001262, allocations: 88.09 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2441/0.2454, allocations: 121.4 MB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.7848, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/1.017, allocations: 156.1 MB / 1.115 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/1.018, allocations: 88.88 kB / 1.115 GB, free: 0.5703 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.04601/1.064, allocations: 11.78 MB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/1.064, allocations: 12 kB / 1.127 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/1.065, allocations: 71.58 kB / 1.127 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/1.065, allocations: 222.8 kB / 1.127 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.065, allocations: 8 kB / 1.127 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/1.065, allocations: 8 kB / 1.127 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004742/1.065, allocations: 158.6 kB / 1.127 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/1.066, allocations: 262.5 kB / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.066, allocations: 4 kB / 1.128 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/1.066, allocations: 3.938 kB / 1.128 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/1.066, allocations: 20.08 kB / 1.128 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/1.069, allocations: 1.621 MB / 1.129 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/1.069, allocations: 73.84 kB / 1.129 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/1.069, allocations: 49.81 kB / 1.129 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/1.069, allocations: 0 / 1.129 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.654e-05/1.069, allocations: 38.55 kB / 1.129 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 4.489e-06/1.069, allocations: 0 / 1.129 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000618/1.07, allocations: 176.6 kB / 1.129 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/1.07, allocations: 77.11 kB / 1.13 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/1.07, allocations: 192.2 kB / 1.13 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/1.07, allocations: 29.8 kB / 1.13 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.07, allocations: 163.4 kB / 1.13 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/1.07, allocations: 31.58 kB / 1.13 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/1.07, allocations: 0 / 1.13 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.071, allocations: 322.8 kB / 1.13 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/1.071, allocations: 75.97 kB / 1.13 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/1.071, allocations: 151.1 kB / 1.13 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/1.071, allocations: 112.9 kB / 1.131 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.071, allocations: 4 kB / 1.131 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000722/1.072, allocations: 264.4 kB / 1.131 GB, free: 324 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005043/1.073, allocations: 1.131 MB / 1.132 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.073, allocations: 4 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.073, allocations: 4 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/1.073, allocations: 59.81 kB / 1.132 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.073, allocations: 11.92 kB / 1.132 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/1.074, allocations: 12.83 kB / 1.132 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/1.074, allocations: 12 kB / 1.132 GB, free: 15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.074, allocations: 4 kB / 1.132 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005693/1.074, allocations: 199.8 kB / 1.132 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.074, allocations: 0 / 1.132 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/1.074, allocations: 8 kB / 1.132 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/1.075, allocations: 49.66 kB / 1.132 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.075, allocations: 4 kB / 1.132 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/1.075, allocations: 11.89 kB / 1.132 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/1.075, allocations: 12.84 kB / 1.132 GB, free: 14.71 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 0.0001046/1.075, allocations: 112.7 kB / 1.132 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/1.075, allocations: 19.97 kB / 1.132 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/1.075, allocations: 114.7 kB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.076, allocations: 0 / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.076, allocations: 4 kB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.076, allocations: 0 / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/1.077, allocations: 0.5858 MB / 1.133 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.077, allocations: 4 kB / 1.133 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.077, allocations: 14.22 kB / 1.133 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.077, allocations: 4 kB / 1.133 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.077, allocations: 7.906 kB / 1.133 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-06/1.077, allocations: 7.922 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.077, allocations: 4 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004203/1.077, allocations: 333.5 kB / 1.133 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005837/1.078, allocations: 0.7047 MB / 1.134 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/1.078, allocations: 105.7 kB / 1.134 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/1.078, allocations: 4 kB / 1.134 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/1.078, allocations: 7.984 kB / 1.134 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/1.078, allocations: 19.84 kB / 1.134 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.078, allocations: 5.75 kB / 1.134 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001967/1.078, allocations: 155.2 kB / 1.134 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002231/1.081, allocations: 87.94 kB / 1.135 GB, free: 12.18 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.0002064/1.081, allocations: 111.2 kB / 1.135 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006531/1.082, allocations: 262.1 kB / 1.135 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.082, allocations: 4.062 kB / 1.135 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/1.082, allocations: 47.91 kB / 1.135 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/1.082, allocations: 31.39 kB / 1.135 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/1.083, allocations: 266.7 kB / 1.135 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/1.084, allocations: 0.7591 MB / 1.136 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/1.084, allocations: 1.219 kB / 1.136 GB, free: 10.64 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)