Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001004, allocations: 177.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 87.34 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3627/0.3636, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.543, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5524/1.095, allocations: 151.1 MB / 1.032 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.096, allocations: 93.62 kB / 1.032 GB, free: 4.855 MB / 0.6511 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.02646/1.122, allocations: 11.77 MB / 1.044 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/1.122, allocations: 8 kB / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/1.123, allocations: 67.67 kB / 1.044 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/1.123, allocations: 218.9 kB / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/1.123, allocations: 8 kB / 1.044 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/1.123, allocations: 15.91 kB / 1.044 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000265/1.123, allocations: 166 kB / 1.044 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/1.124, allocations: 261.5 kB / 1.044 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.124, allocations: 4 kB / 1.044 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/1.124, allocations: 0 / 1.044 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/1.124, allocations: 16.22 kB / 1.045 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/1.125, allocations: 1.628 MB / 1.046 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/1.126, allocations: 66.77 kB / 1.046 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/1.126, allocations: 48.94 kB / 1.046 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/1.126, allocations: 11.88 kB / 1.046 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/1.126, allocations: 30.56 kB / 1.046 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/1.126, allocations: 0 / 1.046 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004263/1.126, allocations: 185.7 kB / 1.046 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.126, allocations: 77.11 kB / 1.046 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/1.126, allocations: 190.7 kB / 1.047 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/1.126, allocations: 29.69 kB / 1.047 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/1.126, allocations: 161.3 kB / 1.047 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/1.126, allocations: 34.67 kB / 1.047 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.127, allocations: 0 / 1.047 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/1.127, allocations: 322.1 kB / 1.047 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/1.127, allocations: 68.42 kB / 1.047 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.127, allocations: 159.7 kB / 1.047 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/1.127, allocations: 112.6 kB / 1.048 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.127, allocations: 0 / 1.048 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004269/1.128, allocations: 258.5 kB / 1.048 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003875/1.128, allocations: 1.141 MB / 1.049 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.128, allocations: 4 kB / 1.049 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.128, allocations: 4 kB / 1.049 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.128, allocations: 51.91 kB / 1.049 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.128, allocations: 8 kB / 1.049 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/1.128, allocations: 11.98 kB / 1.049 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/1.128, allocations: 15.55 kB / 1.049 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.128, allocations: 7.906 kB / 1.049 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003183/1.129, allocations: 192.6 kB / 1.049 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.129, allocations: 7.984 kB / 1.049 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/1.129, allocations: 7.938 kB / 1.049 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/1.129, allocations: 50.47 kB / 1.049 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.129, allocations: 4 kB / 1.049 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/1.129, allocations: 11.98 kB / 1.049 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.129, allocations: 8 kB / 1.049 GB, free: 5.512 MB / 0.6667 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.358e-05/1.129, allocations: 108 kB / 1.049 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/1.129, allocations: 15.81 kB / 1.049 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/1.13, allocations: 127.9 kB / 1.049 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.13, allocations: 4 kB / 1.049 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.13, allocations: 0 / 1.049 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.13, allocations: 0 / 1.049 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/1.13, allocations: 0.5787 MB / 1.05 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.13, allocations: 0 / 1.05 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/1.13, allocations: 27.3 kB / 1.05 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.13, allocations: 0 / 1.05 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.13, allocations: 4 kB / 1.05 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.13, allocations: 7.938 kB / 1.05 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.13, allocations: 0 / 1.05 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002538/1.131, allocations: 337.8 kB / 1.05 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003569/1.131, allocations: 0.714 MB / 1.051 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/1.131, allocations: 107.6 kB / 1.051 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/1.131, allocations: 8.125 kB / 1.051 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/1.131, allocations: 4 kB / 1.051 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/1.131, allocations: 7.984 kB / 1.051 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.131, allocations: 8 kB / 1.051 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001202/1.131, allocations: 157.5 kB / 1.051 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001544/1.133, allocations: 91.2 kB / 1.051 GB, free: 3.133 MB / 0.6667 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.0001611/1.133, allocations: 115.2 kB / 1.052 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003535/1.134, allocations: 264.2 kB / 1.052 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.134, allocations: 0 / 1.052 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/1.134, allocations: 46.97 kB / 1.052 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/1.134, allocations: 26.36 kB / 1.052 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/1.134, allocations: 270.3 kB / 1.052 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.135, allocations: 0.7616 MB / 1.053 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/1.135, allocations: 0 / 1.053 GB, free: 1.699 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)