Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 7.533/7.533, allocations: 404 MB / 410.9 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3992/7.932, allocations: 95 MB / 0.4941 GB, free: 7.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/8.736, allocations: 92.7 MB / 0.5846 GB, free: 3.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.5/18.24, allocations: 2.216 GB / 2.801 GB, free: 61.44 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/18.24, allocations: 89.52 kB / 2.801 GB, free: 61.4 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floMac$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floMac$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floMac$bouIn$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floMac$bouIn$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floMac$bouOut$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floMac$bouOut$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$hea$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$hea$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$hea$bouIn$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$hea$bouIn$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$hea$bouOut$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$hea$bouOut$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 10.17/28.41, allocations: 1.651 GB / 4.452 GB, free: 93.05 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/28.41, allocations: 10.97 kB / 4.452 GB, free: 93.05 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009205/28.42, allocations: 0.6354 MB / 4.452 GB, free: 92.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/28.43, allocations: 2.54 MB / 4.455 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/28.43, allocations: 39.05 kB / 4.455 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000452/28.43, allocations: 65 kB / 4.455 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003579/28.43, allocations: 0.7922 MB / 4.456 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/28.44, allocations: 1.204 MB / 4.457 GB, free: 92.19 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.217e-05/28.44, allocations: 5.688 kB / 4.457 GB, free: 92.19 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/28.44, allocations: 3.656 kB / 4.457 GB, free: 92.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/28.44, allocations: 41.78 kB / 4.457 GB, free: 92.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/28.45, allocations: 6.531 MB / 4.463 GB, free: 88.35 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/28.45, allocations: 311.9 kB / 4.464 GB, free: 88.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/28.45, allocations: 103 kB / 4.464 GB, free: 88.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/28.45, allocations: 182.6 kB / 4.464 GB, free: 88.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/28.45, allocations: 40.81 kB / 4.464 GB, free: 88.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.896e-06/28.45, allocations: 0 / 4.464 GB, free: 88.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.002697/28.46, allocations: 399.7 kB / 4.464 GB, free: 87.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/28.46, allocations: 55.09 kB / 4.464 GB, free: 87.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/28.46, allocations: 1.028 MB / 4.465 GB, free: 87.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/28.46, allocations: 25.7 kB / 4.465 GB, free: 87.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009407/28.46, allocations: 0.6356 MB / 4.466 GB, free: 87.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/28.46, allocations: 77.67 kB / 4.466 GB, free: 87.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/28.46, allocations: 0 / 4.466 GB, free: 87.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001506/28.46, allocations: 337 kB / 4.466 GB, free: 87.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009605/28.46, allocations: 157.9 kB / 4.467 GB, free: 87.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/28.46, allocations: 0.6137 MB / 4.467 GB, free: 86.49 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/28.47, allocations: 294.5 kB / 4.467 GB, free: 86.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/28.47, allocations: 7.125 kB / 4.467 GB, free: 86.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004405/28.47, allocations: 0.7733 MB / 4.468 GB, free: 86.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00184/28.47, allocations: 6.106 MB / 4.474 GB, free: 80.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/28.47, allocations: 14 kB / 4.474 GB, free: 80.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/28.47, allocations: 24.88 kB / 4.474 GB, free: 80.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/28.48, allocations: 194.1 kB / 4.474 GB, free: 80.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.934e-05/28.48, allocations: 34.39 kB / 4.474 GB, free: 80.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/28.48, allocations: 106 kB / 4.475 GB, free: 80.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/28.48, allocations: 55.22 kB / 4.475 GB, free: 80.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/28.48, allocations: 3.938 kB / 4.475 GB, free: 80.11 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002119/28.48, allocations: 0.581 MB / 4.475 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/28.48, allocations: 13.84 kB / 4.475 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/28.48, allocations: 30.88 kB / 4.475 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/28.48, allocations: 177.3 kB / 4.475 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/28.48, allocations: 37.19 kB / 4.475 GB, free: 80.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/28.48, allocations: 62.66 kB / 4.475 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/28.48, allocations: 48.44 kB / 4.476 GB, free: 80.09 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 1 * 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.0003297/28.48, allocations: 148.8 kB / 4.476 GB, free: 79.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/28.49, allocations: 136.8 kB / 4.476 GB, free: 79.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/28.49, allocations: 359.6 kB / 4.476 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/28.49, allocations: 3.844 kB / 4.476 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/28.49, allocations: 0 / 4.476 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/28.49, allocations: 0 / 4.476 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/28.49, allocations: 1.123 MB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/28.49, allocations: 3.594 kB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/28.49, allocations: 48.73 kB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/28.49, allocations: 3.75 kB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/28.49, allocations: 3.5 kB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/28.49, allocations: 3.938 kB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/28.49, allocations: 3.969 kB / 4.477 GB, free: 79.49 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001396/28.49, allocations: 0.5872 MB / 4.478 GB, free: 79.05 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002594/28.5, allocations: 1.254 MB / 4.479 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/28.5, allocations: 222.6 kB / 4.479 GB, free: 78.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/28.5, allocations: 5.031 kB / 4.479 GB, free: 78.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/28.5, allocations: 14.16 kB / 4.479 GB, free: 78.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/28.5, allocations: 17.11 kB / 4.479 GB, free: 78.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/28.5, allocations: 18.55 kB / 4.479 GB, free: 78.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.003482/28.5, allocations: 0.7685 MB / 4.48 GB, free: 77.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01403/28.52, allocations: 2.177 MB / 4.482 GB, free: 77.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.01114/28.53, allocations: 5.283 MB / 4.487 GB, free: 75.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003269/28.53, allocations: 0.7432 MB / 4.488 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/28.53, allocations: 0 / 4.488 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/28.53, allocations: 96.48 kB / 4.488 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006122/28.54, allocations: 0.5415 MB / 4.489 GB, free: 75.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006993/28.54, allocations: 1.724 MB / 4.49 GB, free: 75.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/28.55, allocations: 1.428 MB / 4.492 GB, free: 74.36 MB / 0.8542 GB Notification: Performance of SimCode: time 2.033e-06/28.55, allocations: 0 / 4.492 GB, free: 74.36 MB / 0.8542 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_5.0.1_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow/Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:150:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:150:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:151:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:684: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:683:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_setupDataStruc ^ In file included from Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:684: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.c:683:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_setupDataStruc ^ 3 warnings and 2 errors generated. : recipe for target 'Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.o' failed make: *** [Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_5.0.1_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow/Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... -Wl,-Bstatic -llapack -lblas -Wl,-Bdynamic checking for static pthreads... OK (static) checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.def Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.a Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.so Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_FMU.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_functions.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_records.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_01exo.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_02nls.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_03lsy.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_04set.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_05evt.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_06inz.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_07dly.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_08bnd.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_09alg.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_10asr.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_11mix.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_12jac.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_13opt.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_14lnz.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_15syn.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_16dae.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_17inl.o Buildings_5_0_1_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_init_fmu.o