Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",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 9.1.1-maint.9.1.x/package.mo): time 1.849/1.849, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009682/0.0009683, allocations: 180.6 kB / 487 MB, free: 5.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 106.6 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4526/0.4535, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.6541, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5743/1.228, allocations: 190.7 MB / 1.392 GB, free: 2.621 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.229, allocations: 93.56 kB / 1.392 GB, free: 2.57 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1141/1.343, allocations: 49.95 MB / 1.44 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/1.343, allocations: 8 kB / 1.44 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009274/1.352, allocations: 1.255 MB / 1.442 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.353, allocations: 0.6167 MB / 1.442 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/1.353, allocations: 24 kB / 1.442 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.354, allocations: 35.98 kB / 1.442 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002044/1.356, allocations: 1.349 MB / 1.444 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/1.357, allocations: 1.383 MB / 1.445 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.357, allocations: 3.938 kB / 1.445 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.358, allocations: 8 kB / 1.445 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/1.358, allocations: 136 kB / 1.445 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008991/1.367, allocations: 6.554 MB / 1.452 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.368, allocations: 0.8387 MB / 1.452 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/1.369, allocations: 0.5739 MB / 1.453 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/1.371, allocations: 1.477 MB / 1.454 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.371, allocations: 45.56 kB / 1.454 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.224e-06/1.371, allocations: 0 / 1.454 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.01018/1.381, allocations: 4.174 MB / 1.458 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/1.381, allocations: 86.05 kB / 1.459 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/1.381, allocations: 484.1 kB / 1.459 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/1.381, allocations: 25.7 kB / 1.459 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.382, allocations: 361.1 kB / 1.459 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/1.382, allocations: 354.6 kB / 1.46 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/1.382, allocations: 3.938 kB / 1.46 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.382, allocations: 389.2 kB / 1.46 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/1.383, allocations: 0.7579 MB / 1.461 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/1.384, allocations: 1.084 MB / 1.462 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.386, allocations: 1.016 MB / 1.463 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.386, allocations: 0 / 1.463 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006388/1.393, allocations: 2.936 MB / 1.466 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/1.394, allocations: 3.908 MB / 1.47 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.394, allocations: 15.98 kB / 1.47 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/1.398, allocations: 0.9684 MB / 1.471 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/1.4, allocations: 386.1 kB / 1.471 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.41, allocations: 8.363 MB / 1.479 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/1.412, allocations: 211.6 kB / 1.479 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.412, allocations: 63.28 kB / 1.479 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/1.412, allocations: 4 kB / 1.479 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004586/1.417, allocations: 2.328 MB / 1.482 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.417, allocations: 8.5 kB / 1.482 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/1.419, allocations: 0.5851 MB / 1.482 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/1.421, allocations: 411.4 kB / 1.483 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00831/1.429, allocations: 8.086 MB / 1.49 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.431, allocations: 199.7 kB / 1.491 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.431, allocations: 59.97 kB / 1.491 GB, free: 9.859 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003433/1.432, allocations: 136.7 kB / 1.491 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/1.432, allocations: 86.91 kB / 1.491 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007101/1.439, allocations: 2.991 MB / 1.494 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.439, allocations: 12 kB / 1.494 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.439, allocations: 4 kB / 1.494 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.439, allocations: 11.98 kB / 1.494 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008876/1.448, allocations: 4.573 MB / 1.498 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.448, allocations: 8.031 kB / 1.498 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.45, allocations: 299.5 kB / 1.499 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003773/1.453, allocations: 1.03 MB / 1.5 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.453, allocations: 15.98 kB / 1.5 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.465, allocations: 9.698 MB / 1.509 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.465, allocations: 11.94 kB / 1.509 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005984/1.471, allocations: 3.119 MB / 1.512 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006007/1.477, allocations: 3.509 MB / 1.516 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/1.478, allocations: 347.9 kB / 1.516 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.478, allocations: 11.94 kB / 1.516 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.48, allocations: 223.6 kB / 1.516 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.48, allocations: 68.36 kB / 1.516 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.48, allocations: 47.91 kB / 1.516 GB, free: 14.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004041/1.481, allocations: 362.9 kB / 1.517 GB, free: 14.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003104/1.484, allocations: 0.5116 MB / 1.517 GB, free: 13.66 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/1.484, allocations: 144.3 kB / 1.517 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006803/1.491, allocations: 3.895 MB / 1.521 GB, free: 9.551 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.491, allocations: 0 / 1.521 GB, free: 9.551 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002766/1.494, allocations: 1.537 MB / 1.523 GB, free: 7.977 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/1.494, allocations: 114.5 kB / 1.523 GB, free: 7.867 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/1.503, allocations: 2.644 MB / 1.525 GB, free: 5.121 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.504, allocations: 1.184 MB / 1.526 GB, free: 3.914 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/1.504, allocations: 0 / 1.526 GB, free: 3.914 MB / 0.948 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat